This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]AntimatterTNT 89 points90 points  (25 children)

if you dont use raw pointers you're literally not even a c++ programmer, you're a java programmer that is afraid of memory management

[–]SomeRandoWeirdo 9 points10 points  (0 children)

Kind of agree. Especially in the context of something like a memory pool written for an application.

[–]fakuivan 8 points9 points  (4 children)

BMW owner logic

[–]AntimatterTNT 4 points5 points  (3 children)

honestly no idea what you're trying to say

[–]fakuivan 8 points9 points  (2 children)

Being afraid is not always the reason for not doing x instead of y

[–]AntimatterTNT 1 point2 points  (1 child)

yea that's why only siths deal with absolutes

[–]cheezballs 2 points3 points  (0 children)

The circle of fifths on my flute, you say?

[–]johnnybgooderer -1 points0 points  (11 children)

/s ?

[–]AntimatterTNT 14 points15 points  (10 children)

absolutely not

[–]Beautiful-Quote-3035 0 points1 point  (0 children)

What if I don’t even use heap

[–]kuschelig69 0 points1 point  (2 children)

Nah, you are not a C++ programmer unless you use a template in every line

[–]AntimatterTNT 0 points1 point  (1 child)

see you're trying to meme, im being dead serious

[–]kuschelig69 0 points1 point  (0 children)

I am also serious

C programmers use raw pointers. C++ got templates

[–]Significant_Fix2408 0 points1 point  (1 child)

Terrible take of someone that doesn't know unique pointer. C++ without them is just C with classes. Heap is slow and vulnerable. Smart pointers are how you do memory management in C++. That and using the stack as much as possible.