News for hackers. Stuff that matters.
Re:Goodbye, Clean Code by gameswithgo on Sunday January 12, 2020 @08:51AM (#22026254)
Every single rule or advice in programming is good until it isn't. OOP is good until it isn't, function programming is good until it isn't, premature optimization is the root of all evil until it is the root of all good.

For some reasons humans have this deep need to try and boil things down to bulleted lists which in the domain of programming are just incredibly not useful.

Re:Goodbye, Clean Code by bjornjajajaja on Sunday January 12, 2020 @07:34PM (#22030870)
This is because programming is an art. It has fundamental components (objects, functions, templates, iterators, etc) like in visual design (point, line, shape, value, etc).

I think engineers should read the old and the new C++ books and master that language to know the evolution of all these paradigms and how to use them. There’s so much wisdom in the “Effective C++” series and Gang of Four and “C++ Templates: The complete guide“ to name a few.

Problem is in this “start up culture” to bang things out and get them working the art is left behind. Just like many other arts.

Re:Goodbye, Clean Code by hermitdev on Sunday January 12, 2020 @09:43PM (#22031419)
I was part of an uncredited team interviewed by Meyers for "Effective Modern C++". Always thought ir was somewhat ironic. At the firm (declined acknowledgments because they shun media attention) we werent even using a C++11 compiler on either Linux or Windows at the time. Yet, at least two of the patterns, I recognize as being at least a partial contributor to.

Myself, I lost track of C++ standards changes with C++17, and Ive not been using C++ for the last several years.

I still love the power and speed, but right now I'm dping more ETL work, and Python is a better and more productive language for that.

Re:Goodbye, Clean Code by TravHatesMe on Sunday January 12, 2020 @12:58PM (#22027787)
I think that you have a point but I often find myself citing guidelines or rules when I am evaluating code decisions or questioning code design. Maybe it depends on your interpretation of the phrases, some sayings should be followed religiously but others applied with discretion.
Re:Goodbye, Clean Code by akoncius on Sunday January 12, 2020 @01:04PM (#22027833)
well said. for a while I started treating everything as a soft rule, more like guideline. it gets easier then :)
Re:Goodbye, Clean Code by Smoosh on Sunday January 12, 2020 @05:48PM (#22030181)
Consider them to be heuristics, not rules.