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