News for hackers. Stuff that matters.
Re:The Stuxnet worm may be the most sophisticated software e... by Clubber on Friday May 18, 2018 @08:37AM (#17100911)
Yes, in my experience, solving a problem / feature well involves three steps:

1. Get the code to work 2. Clean up the code 3. Simplify the code

1 is self explanatory. 2 involves removing any logical redundancy, separating and cleaning the logic into methods, etc. 3 involves simplifying logic and logical mechanisms.

Most developers only do step 1 and maybe step 2. Step 3 is where beauty comes in.

If I could organize my thoughts around this concept, it would probably make a pretty good article. I don't know who the source is but a good quote goes something like this, "real genius isn't solving the complex, it's solving the complex in a simple way."

Re:The Stuxnet worm may be the most sophisticated software e... by packet_nerd on Friday May 18, 2018 @10:49AM (#17101890)
“Any fool can make something complicated. It takes a genius to make it simple.”

I made a poster with this for my office wall.

Re:The Stuxnet worm may be the most sophisticated software e... by thybag on Friday May 18, 2018 @12:08PM (#17102549)
This fits perfectly with my own experience. The 3rd pass is always the one that makes the difference in terms of code that just feels nice/clean.