Viewing profile — jefbyokyie
jefbyokyie
HN member- Joined
- Tue, Dec 03, 2024, 9:40 PM UTC
- HN karma
- 22
- Public activity
- 18 items
- HN profile
- View on Hacker News ↗
About jefbyokyie
No profile information was provided.
Recent public activity
-
comment
Comment #42638491
> You really should be able to express the required cleanup semantics with "defer" I'm perfectly able to do that, I just don't want it, because the result is terrible. The syntax n…
-
comment
Comment #42625386
> you are in the minority here Yes, I am.
-
comment
Comment #42617873
> Does C really need this? No. > Do languages need to grow in this way? No. > The overriding virtue of C is simplicity. It's no longer simple, especially not with the C11 memory mo…
-
comment
Comment #42617861
Indeed!
-
comment
Comment #42617844
> cleanup in every single failure case you're only tempted to clean up [fully] in every single failure case if you don't know how to implement cascading gotos or the arrow pattern.…
-
comment
Comment #42617837
> Invisible jumps are very bad Agreed; they're terrible. Implicit sucks, explicit rules.
-
comment
Comment #42617823
> number 1 issue I find myself having when switching from C++ to C is missing RAII That's because you've become complacent; you've gotten used to the false comfort of destructors. …
-
comment
Comment #42617748
When constructing an object in C, we may need some permanent sub-objects, and some temporary objects. If we only need permanent sub-objects, then we set those up gradually, and bui…
-
comment
Comment #42617648
> The whole point of syntactic sugar is for the machinery to be hidden And when the machinery fails, you'll not only have the machinery to debug, but the syntactic sugar too.
-
comment
Comment #42617640
> Not right there, some other place in the function. Exactly. Both C++ RAII (constructors/destructors) and C23 defer are awful . They make the behavior implicit; in effect they tie…
-
comment
Comment #42345583
> You don't owe [...] you might want to What's the difference? If you don't boost them with all your might, you effectively condemn them to a life of struggle and misery, in today'…
-
comment
Comment #42345538
> 20% less, maybe 15% net income less ain't that huge of a deal - if it is, something ain't right in your finances anyway or else, something maybe horribly broken in your country .…
-
comment
Comment #42345485
Yes, but it matters how much it intrudes on your personal life. Paying social security (and saving for retirement) when you are young, and getting (some) coverage when you are old,…
-
comment
Comment #42345452
What you describe as reciprocation is actually transgenerational exploitation. Be forcefully taken-from when you are young, and then forcefully take (from the young) when you are o…
-
comment
Comment #42345376
Exactly. What sane grandparent would want to live at the cost of cannibalizing their grandchildren? What the sandwich generation received as kids, they need to pay that forward , n…
-
comment
Comment #42312267
> I’m more frustrated that Debian has such a stranglehold on packaging decisions and it effectively refuses to experiment or innovate on that in any way. What Debian has is not a "…
-
comment
Comment #42312118
C++23 is a godawful mess; especially the functional paradigms (which look beautiful in e.g. OCaml) that got shoehorned kicking and screaming into the morass that C++ had already be…
-
comment
Comment #42311849
> define the base via union of all bases in the chain [...] just checks 3 things in order Can you please show a concrete example? Thanks.