Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

OOP Considered Harmful

Name: Anonymous 2007-10-14 14:53

Object-oriented programming encourages over-engineering, leads to slower code due to virtual lookups, and it doesn't solve any problems.

Objects are fine, but don't overuse them.

Name: Anonymous 2007-10-16 20:08

>>35
See >>36

There isn't any real way to determine if data is allocated on the heap or stack because (under some circumstances in some ISAs) a given memory address can be in either. The only real way is to look at how the memory was allocated. If it was with malloc (or new), then it's on the heap. Otherwise, it's on the stack.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List