Comments on: 11 Rules All Programmers Should Live By https://simpleprogrammer.com/11-rules-all-programmers-should-live-by/ Tue, 09 Jan 2018 20:57:41 +0000 hourly 1 https://wordpress.org/?v=7.0 By: Does the concept of professionalism apply to the creative industries? | Site Title https://simpleprogrammer.com/11-rules-all-programmers-should-live-by/#comment-3450 Thu, 05 Oct 2017 00:45:30 +0000 https://simpleprogrammer.com/?p=13186#comment-3450 […] Quite a nice guide of rules that programmers should live by – here […]

]]>
By: Digit Cancelling Fractions – Project Euler Problem 33 | sabihxh https://simpleprogrammer.com/11-rules-all-programmers-should-live-by/#comment-3449 Sun, 21 May 2017 12:55:01 +0000 https://simpleprogrammer.com/?p=13186#comment-3449 […] it is much easier to solve the problem. One of the post by simple programming which gives you 11 rules of programming which I agree […]

]]>
By: Практическое пособие «Как вывести из себя программиста» - itfm.pro https://simpleprogrammer.com/11-rules-all-programmers-should-live-by/#comment-3448 Tue, 08 Nov 2016 09:47:14 +0000 https://simpleprogrammer.com/?p=13186#comment-3448 […] и завести разработчика совсем не туда, объясняет автор книг и основатель Simple Programmer Джон Сонмнез […]

]]>
By: DanMan https://simpleprogrammer.com/11-rules-all-programmers-should-live-by/#comment-3453 Tue, 27 Sep 2016 19:38:00 +0000 https://simpleprogrammer.com/?p=13186#comment-3453 In reply to jsonmez.

But they are, so that rule is non-sense.

]]>
By: DanMan https://simpleprogrammer.com/11-rules-all-programmers-should-live-by/#comment-3452 Tue, 27 Sep 2016 19:35:00 +0000 https://simpleprogrammer.com/?p=13186#comment-3452 In reply to jamtr.

This. A million times over.

I don’t want to have to read through implementation code. I want to know what I’m supposed to put into something (method), what’ll come back out of it, and if it’ll throw an exception. That’s really all I need, if I’m just using it.
The inner workings only matter, if I have to change them, so I should only be expected to have to read them then.

]]>
By: DanMan https://simpleprogrammer.com/11-rules-all-programmers-should-live-by/#comment-3451 Tue, 27 Sep 2016 19:30:00 +0000 https://simpleprogrammer.com/?p=13186#comment-3451 In reply to David French.

That train of thought really applies to commit messages.

]]>
By: jsonmez https://simpleprogrammer.com/11-rules-all-programmers-should-live-by/#comment-3445 Wed, 15 Jul 2015 20:09:00 +0000 https://simpleprogrammer.com/?p=13186#comment-3445 In reply to desertjedi.

Variable names are 10 characters max…

First of all my hat is off to you.
And second, you can and should definitely use comments in that situation.

I’m talking about modern languages when I am suggesting that you can structure the code to explain the meaning.

]]>
By: desertjedi https://simpleprogrammer.com/11-rules-all-programmers-should-live-by/#comment-3444 Wed, 15 Jul 2015 01:20:00 +0000 https://simpleprogrammer.com/?p=13186#comment-3444 “Your code CAN tell a story if you want it to.” That’s a pretty big assumption. What beautiful , Shakespearean, modern languages is everyone (except me) coding in? The majority of my daily work involves maintaining fixed-format RPG IV code often written quite long ago. Without comments, for the most part, everything has to be reverse-engineered…the code has almost no ability to self-document. Variable names are 10 characters max. There is no ability to indent. So from my perspective, you can almost never have enough comments.

I run into uncommented blocks of code that I simply can’t decipher. I see what they do but I have no context for it. I’m unable to determine business rules from it. All I need is a sentence or two just explaining “why?”. The only way I can determine what a program is doing is by reading the comments. Without them, every task would simply be way too time-consuming.

My job may sound miserable but maintenance is only part of it. Free-form ILERPG has evolved so much it can be hard to differentiate from other modern languages. So, when I write new programs, my code can be very self-documentating and easy to follow. Thankfully, I also write SQL views and procedures as we operate in SQL environment and RPG simply provides the fundamental programming logic.

]]>
By: David French https://simpleprogrammer.com/11-rules-all-programmers-should-live-by/#comment-3443 Sat, 23 May 2015 21:13:00 +0000 https://simpleprogrammer.com/?p=13186#comment-3443 In reply to jamtr.

I read somewhere that the code should self-document the “how”, and you should write comments to explain the “why”. That seemed like a pretty good rule of thumb to me.

]]>
By: Scott Nimrod https://simpleprogrammer.com/11-rules-all-programmers-should-live-by/#comment-3442 Sat, 25 Apr 2015 12:33:00 +0000 https://simpleprogrammer.com/?p=13186#comment-3442 My Speech to the Business…

Businesses relying on software, I’m here to tell that I charge the
developer.

I charge the developer with being the biggest liar on this earth.

I charge the developer with being the biggest imposter on this
earth.

I charge the developer with being the biggest neglector on this
earth.

There is no place in this world where that man can go where he has
delivered solutions.

Everywhere he has gone, he has created havoc!

Everywhere he has gone, he has created debt!

So I charge the developer.

I charge the developer with being the biggest slacker on this
earth.

I charge the developer with being the biggest robber and enslaver
on this earth.

I charge the developer with being the most unprofessional on this
earth.

He cannot deny the charges. You cannot deny the charges. Our
return on investment are living proof of those charges!

You and I have proof!

You don’t have developers. You’re the victim of developers!

He didn’t tell you the side-effects of what would happen if you’d
hire him.

He didn’t say that if you hired him that he would use your time
and money to make mistakes.

He didn’t tell you that he doesn’t practice new ideas on his own
time.

No! He practiced the latest buzz-words and media hype on your time!

Thus, he practiced and failed miserably with your money!

Hiring developers has not solve your business problems.

You’re not a developer. I’m not a developer.

You’re one of a million businesses that are victims of the
developer!

We haven’t seen the developer bring to life our business’s dream.

But we’ve experienced the developer’s touch of death, just to
deliver our business’s nightmare.

]]>