@cmuratori maybe they wanted to pretend it doesn't generate a function call, hence skipped the ()
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@cmuratori I never use these functions in my own code, so I never realized how badly the C++ design pre-screws your codebase in this way. -
@cmuratori well the same people tell you these days not to use delete/new and use make_unique / make_shared instead
End of conversation
New conversation -
-
-
@cmuratori BUT, importantly, they are instantly human readable. Malloc and free are, by comparison, garbage for being read by humans. -
@cmuratori "What's a malloc?" "Well it's like a marshmallow, but without the marsh, and also it involves your memory."
End of conversation
New conversation -
-
-
@cmuratori the incompetence lies where the assumption was that you would still need to grep (because macros), not search an ASTThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@cmuratori never tried this myself but my gut reaction here is to try to grep for new<space> and delete<space>/[]Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@cmuratori nobody ever should be using new/delete. They are awful, and from the early days of C++.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@eisbehr@cmuratori yes of course! You should be using std::unique_ptr() -
@eisbehr@cmuratori well then you should be using malloc. new/delete are bad as all hell.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.