Viewing profile — hzhou321
hzhou321
HN member- Joined
- Mon, Mar 12, 2012, 12:49 AM UTC
- HN karma
- 468
- Public activity
- 352 items
- HN profile
- View on Hacker News ↗
About hzhou321
No profile information was provided.
Recent public activity
-
comment
Comment #43506289
One is a boss's view, looking for an AI to replace his employees someday. I think that is a dead end. It is just getting better to become a sophisticate, increasingly impressive bu…
-
comment
Comment #35634297
> To illustrate, Rust macros are basically that. They have a substantially different syntax to normal Rust code that make it very difficult to quickly grok what is going on. It's a…
-
comment
Comment #35634210
M4 only do token-level macros or inline macros. M4 macros are identifier that can't be distinguished from underlying language. M4 macros does not have scopes. M4 does not have cont…
-
comment
Comment #35633498
In another word, it (to have runtime macro expansion) is a side effect, a compromise, a wart, rather than a design goal, right?
-
comment
Comment #35633487
> I think a general purpose macro language is only as useful as the average code-gen/templating language. It's just string manipulation, which can be harder to reason about than tr…
-
comment
Comment #35633334
> That being said, I think homoiconicity is actually a useful feature, but runtime macro expansion is the dangerous part. Practically, why would you ever want a runtime macro expan…
-
comment
Comment #35632197
LISP has been singing homoiconicity as its feature. I lately start to think homoiconicity is really a wart. The macros are a system to program the code, while the code is a system …
-
comment
Comment #35348299
The ban is not having an issue between China and US. US can do whatever to China, and only need balance potential retaliation. There is no moral debate between countries, just powe…
-
comment
Comment #34107153
Since you are already familiar with other languages, I suggest just pick a tool that you use daily that is open source in C, and start hacking it.
-
comment
Comment #33989199
Some billionaires grow integrity at some point since every thing else is just money. Some billionaires never.
-
comment
Comment #33776714
> C specification says a program is ill-formed if any UB happens. So yes, the spec does say that compilers are allowed to assume UB doesn't happen. I disagree on the logic from "il…
-
comment
Comment #33776427
> Indeed. UB in C doesn't mean "and then the program goes off the rails", it means that the entire program execution was meaningless, and no part of the toolchain is obligated to g…
-
comment
Comment #33631279
Nice! If the robots can sustain on solar energy, even better.
-
comment
Comment #33458318
How silly is this.
-
comment
Comment #33450981
What prevents linux to achieve the same bandwidth?
-
comment
Comment #33257402
It's not about the amount of time kids takes up in your life. It is about how kids changes your life forever. Your priority in life changes, then your life changes. I guess when ki…
-
comment
Comment #33251629
The `infix` syntax is missing from the major items. Without infix syntax, all languages are just variations of LISP -- I guess that was all the article is about.
- story
-
comment
Comment #32501065
For those who are interested, checkout MyDef - https://github.com/hzhou/MyDef
-
comment
Comment #32500042
Yes, I agree! In fact, the break through we needed is to view programming as a human cognitive operation and embrace the text, and treat manipulating text as a main component of co…
-
comment
Comment #32417849
The author's view is very relatable (to me). I am going to bookmark it since it verbalize my feeling so fittingly. I am not sure I am autistic, but I have to be to some extent. I c…
-
comment
Comment #32359529
When one reads a reply that is out of his expectation, and when his expectations was for granted, then that reply will be perceived as negative or hostile, right? But the reply may…
-
comment
Comment #32358167
You mean -- where to find experts that can tolerate newbie asking off-base questions and showing off their bottle half full? If you just find people with "a deep love of learning",…
-
comment
Comment #32160462
> Ruby is clever, it can be beautiful, but I've never seen a good codebase using it grow well without enforcing strictly opinionated ways of writing it to ensure maintainability. I…
-
comment
Comment #31769474
I think it is a crowd dumbing effect. Since hundreds of engineers sharing the mono-repo, no one can or care to make the decision or is able to push the decision for alternate. Even…