Better HN
topnewbestaskshowjobs
Log inSign up

throwawa1238

2 karma · joined Aug 22, 2018 (8y ago) · 2 submissions

Submissions

comment 8y ago · link · parent

How about returning a reference to a static variable that changes when the function is called with different parameters. [C++]

I can't imagine why he thought that was a good idea.

comment 8y ago · link · parent

I have a similar problem, but they are actively making new messy code.

When basic things are not being done right, it feels almost demeaning to try to start a conversation with someone that the variable name "stuff" might not be descriptive.