DEV Community

loading...

Discussion on: Valuable Tips for Junior Developers

Collapse
memattchung profile image
memattchung

Are you a heap or stack programmer

Can you elaborate on this? I'm not entirely sure what you mean here. To me, the two are not mutually exclusive. You'll write programs that both use the stack (i.e. every time you make a function call) and in that very same program, you'll allocate memory on the heap (e.g. malloc) ?

Cheers,
Matt Chung
@memattchung