News for hackers. Stuff that matters.
Re:What science says about naming in programming by TeMPOraL on Sunday January 08, 2017 @12:47PM (#13350902)
I've been reading Code Complete recently, and this is exactly what the book recommends for variable names :).
Re:What science says about naming in programming by gluczywo on Sunday January 08, 2017 @01:06PM (#13351009)
I had no idea the rule is a classic. It's frustrating that with a little more education I would have spared plenty of time spent reinventing the wheel.
Re:What science says about naming in programming by TeMPOraL on Sunday January 08, 2017 @01:11PM (#13351036)
I don't shy away from reading programming books and I have close to two decades of programming experience now (including hobby times), and this is the first time I've actually read this advice. It doesn't seem to be widely spread. So I guess the choice of books matters...
Re:What science says about naming in programming by jstimpfle on Sunday January 08, 2017 @01:19PM (#13351083)
I identify OO culture as a possible culprit. OO is not so fond of structuring and scoping mechanisms besides classes.