3 ms·
Over 40 years and I never got sick of it. I am leaning new things every day. I strongly disagree with: "Simple, obvious code is easier to write, easier to get
by mianos 3y ago
Over 40 years and I never got sick of it. I am leaning new things every day.
I strongly disagree with: "Simple, obvious code is easier to write, easier to get to work .."
It takes real skill, time and effort to write simple code in any production setting. I am not talking about some 100 line algorithm some leet guy once wrote, but code that's been in production for years. It's only the simple code that survives.
- dr_kiszonka 3y agoThere is also that code no one understands and everyone is afraid to touch : - )
- mianos 3y agoFunny thing is, being the oldest programmer, I get given that code. Code that has had bugs in it that destroyed the careers of people given it. I could tell a story about one time I fixed something and they had a company wide party, which I couldn't go to as I had another impossible bug.
- ZaoLahma 3y ago> I strongly disagree with: "Simple, obvious code is easier to write, easier to get to work .." I get your point, as well as the author's point. Complex code is difficult to write, and unless you really pay attention, likely to be wrong. Simple code is easier to write, easier to verify and more likely to be correct, but it's very hard to learn how to express your solution to a complex problem in simple terms.
- mianos 3y agoMaybe I should have said, "simple code is hard to write and complex code is easy to get wrong". As an aside, I'm not going to post an AI generated essay, but pasting that quote into the new Claude gives an essay well worth reading if anyone cares.
- kolleykibber 3y agoEverything should be made as simple as possible, but no simpler