Y
Hacker News
new
|
ask
|
show
|
jobs
Object-Orients Programming in C
(
mrunix.me
)
1 points
by
mrunix
269 days ago
2 comments
mwkaufma
269 days 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?
link
mrunix
269 days ago
I forgot about this one, nice catch
link
gangtao
269 days ago
so why not to use C++?
link
mrunix
269 days ago
These patterns exist in some codebases written in C, it's useful to understand these patterns.
link