One that I see a lot of the need to "encapsulate" when the entire data set should be on the stack. (Note that "on the stack" could mean like a vector, which is really on the heap, but lives in a stack frame.) You're not going to encapsulate better than a stack frame lol.
-
-
-
Leads to creating a ball that you have mutators for... which is fine... except that pushing a good container through unit-tested, const-in, unread-out functions will always produce the same results, even if run multiple times. Better than senseless globals, but yeah.
- Show replies
New conversation -
-
-
One of my many pet peeves is when someone drags in a 300k line library because they need a hash function. Or parser.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
but we have to do information hiding, because later when I'm looking for said information I sure will be happy that I specifically obfuscated it.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Also, should this be a reply to something?
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I code with all the features of modern c++, lambdas/templates/stl/etc, but with the express purpose of reducing the amount of code I need to write overall and making sure what's left is readable and requires minimal boilerplate to use
-
meaning I think overcomplicating code is a feature of bad programmers and not modern programmers.
- Show replies
New conversation -
-
-
You are kinda second guessing people. Probably there is a better way, but is it better for them given their limitations.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
this is what just killed oop for me. the file spread. why i gotta have ten tabes open to read a 4 line snippet? why they gotta be like that. That more than anything else.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
They’re not programmers, they’re StackExchange plumbers.
-
this is the best thing I’ve read on twitter dot com
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.