Click here to Skip to main content
15,886,919 members

The Insider News

   

The Insider News is for breaking IT and Software development news. Post your news, your alerts and your inside scoops. This is an IT news-only forum - all off-topic, non-news posts will be removed. If you wish to ask a programming question please post it here.

Get The Daily Insider direct to your mailbox every day. Subscribe now!

 
GeneralRe: How to actually reduce software defects Pin
Sander Rossel28-Aug-16 11:16
professionalSander Rossel28-Aug-16 11:16 
GeneralRe: How to actually reduce software defects Pin
Sander Rossel28-Aug-16 11:14
professionalSander Rossel28-Aug-16 11:14 
GeneralRe: How to actually reduce software defects Pin
Matt.L28-Aug-16 12:11
Matt.L28-Aug-16 12:11 
GeneralRe: How to actually reduce software defects Pin
Mycroft Holmes28-Aug-16 20:11
professionalMycroft Holmes28-Aug-16 20:11 
GeneralRe: How to actually reduce software defects Pin
Destiny77716-May-17 12:41
Destiny77716-May-17 12:41 
GeneralRe: How to actually reduce software defects Pin
Sander Rossel16-May-17 20:45
professionalSander Rossel16-May-17 20:45 
GeneralRe: How to actually reduce software defects Pin
Destiny77725-May-17 10:54
Destiny77725-May-17 10:54 
GeneralRe: How to actually reduce software defects Pin
Sander Rossel25-May-17 12:02
professionalSander Rossel25-May-17 12:02 
Sorry for that, your (invalid) argument about my experience hit a sore spot.
I've worked for some a-hole who thought he was somehow a better programmer because he had more years of experience [read: years worked as a programmer].
He was sure to SCREAM at me that something as absurd as "design patterns" would never work and he could know because he had 8 years of experience and I was only just getting started.
According to him not even Microsoft used design patterns.
You can imagine that wasn't our first and neither our last argument about code and every time he'd be sure to say he was right BECAUSE he has more years or experience (and he was also my boss).
Experience says nothing about skill or knowledge.
Please remember that Smile | :)

So, peaceful this time Laugh | :laugh:
I agree that good documentation can be helpful.
Unfortunately, documenting is often even harder than writing the code in the first place.
Updating documentation is something I've only heard of in fairy tales.
I've had plenty of experience with documentation and especially code comments, and 99% of the documentation was useless at best.

A useless comment (I've come across this exact comment countless of times!):
C#
// Declare and set the variable.
int i = 42;
Another "duh" comment:
C#
// Save the customer.
customer.Save();
And this is why commenting just doesn't work:
C#
// Save the customer.
product.Save();
These are real world examples and most of the comments I've seen.

Anyway, good code (usually) requires no comments.
And, as said, in his book, Clean Code, Robert Martin, an authority on programming, also argues against comments (the entire book is really worth a read!).

That said, documentation is helpful!
When I'm about to use some third party library and I can't find any documentation it's exit library!
So if that was what you meant I'm completely with you.
I've documented my own arrgh.js[^] like that (although you won't find a single // code comment in the source) Smile | :)

So let's either agree to disagree or something in between (docs yes, comments no, agree 50%?) Wink | ;)

GeneralRe: How to actually reduce software defects Pin
Garth J Lancaster28-Aug-16 16:04
professionalGarth J Lancaster28-Aug-16 16:04 
GeneralRe: How to actually reduce software defects Pin
KarstenK29-Aug-16 1:43
mveKarstenK29-Aug-16 1:43 
GeneralRe: How to actually reduce software defects Pin
Stephen Gonzalez28-Aug-16 12:56
Stephen Gonzalez28-Aug-16 12:56 
GeneralRe: How to actually reduce software defects Pin
Beginner Luck28-Aug-16 15:13
professionalBeginner Luck28-Aug-16 15:13 
GeneralRe: How to actually reduce software defects Pin
Bernhard Hiller28-Aug-16 21:19
Bernhard Hiller28-Aug-16 21:19 
GeneralRe: How to actually reduce software defects Pin
PeejayAdams30-Aug-16 2:15
PeejayAdams30-Aug-16 2:15 
GeneralRe: How to actually reduce software defects Pin
#realJSOP29-Aug-16 0:00
mve#realJSOP29-Aug-16 0:00 
GeneralRe: How to actually reduce software defects Pin
Marc Clifton29-Aug-16 4:57
mvaMarc Clifton29-Aug-16 4:57 
GeneralRe: How to actually reduce software defects Pin
Joe Woodbury29-Aug-16 9:12
professionalJoe Woodbury29-Aug-16 9:12 
NewsWoz in Oz: iPhone 7 no headphone jack ? : no like ! Pin
BillWoodruff27-Aug-16 4:11
professionalBillWoodruff27-Aug-16 4:11 
GeneralRe: Woz in Oz: iPhone 7 no headphone jack ? : no like ! Pin
raddevus27-Aug-16 4:15
mvaraddevus27-Aug-16 4:15 
GeneralRe: Woz in Oz: iPhone 7 no headphone jack ? : no like ! Pin
Chris Maunder27-Aug-16 4:43
cofounderChris Maunder27-Aug-16 4:43 
GeneralRe: Woz in Oz: iPhone 7 no headphone jack ? : no like ! Pin
raddevus27-Aug-16 5:47
mvaraddevus27-Aug-16 5:47 
GeneralRe: Woz in Oz: iPhone 7 no headphone jack ? : no like ! Pin
Chris Maunder27-Aug-16 6:11
cofounderChris Maunder27-Aug-16 6:11 
GeneralRe: Woz in Oz: iPhone 7 no headphone jack ? : no like ! Pin
raddevus27-Aug-16 7:09
mvaraddevus27-Aug-16 7:09 
GeneralRe: Woz in Oz: iPhone 7 no headphone jack ? : no like ! Pin
BillWoodruff27-Aug-16 18:30
professionalBillWoodruff27-Aug-16 18:30 
GeneralRe: Woz in Oz: iPhone 7 no headphone jack ? : no like ! Pin
Chris Maunder28-Aug-16 13:56
cofounderChris Maunder28-Aug-16 13:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.