Hacker News
new
top
best
ask
show
job
Object-Orients Programming in C
(
mrunix.me
)
1 point
by
mrunix
15 hours ago
2 comments
mwkaufma
15 hours ago
Weird choice to lead with asymmetric constructors/destructors -- why is there a free() with no corresponding malloc()/calloc()? Were the samples copy-pasted from a GenAI prompt?
mrunix
14 hours ago
I forgot about this one, nice catch
gangtao
15 hours ago
so why not to use C++?
mrunix
15 hours ago
These patterns exist in some codebases written in C, it's useful to understand these patterns.