News for hackers. Stuff that matters.
Re:How Great Programmers Avoid Bugs by adrianN on Friday May 20, 2016 @01:27PM (#11739725)
This seems like trivial advice that has very little impact on day to day programming. "Just try to think of all the possibilities and you'll have fewer bugs."

It would be more useful to have a reference of quality techniques that have at least some data behind their claims of efficiency. I know of this list:

http://pastebin.com/xZ6m4T8Z

I would prefer something with more citations. Does anybody have something like that?

Re:How Great Programmers Avoid Bugs by ashwinaj on Friday May 20, 2016 @01:40PM (#11739850)
I think she's trying to imply that we should not jump into coding without putting in some thought on all possible scenarios. Obviously there is no way that anyone can tabulate all possible scenarios, but the time spent on dwelling on possibilities helps to avoid initial flurry of bugs after a feature is deployed.
Re:How Great Programmers Avoid Bugs by FroshKiller on Friday May 20, 2016 @02:02PM (#11740047)
It's like they say: Good programmers look both ways before crossing a one-way street.
Re:How Great Programmers Avoid Bugs by dave2000 on Friday May 20, 2016 @01:52PM (#11739950)
Yeah, and it sounds exactly like something a non-technical manager might say to "help" their workers.
Re:How Great Programmers Avoid Bugs by ashwinaj on Friday May 20, 2016 @02:58PM (#11740505)
Well you can choose to ignore what a non-technical manager says (if you don't care for him/her).

I don't know what your programming experience is, but if you've done some moderately complex projects this might sound obvious but is overlooked by a lot of people.

Source: Personal experience which lead to a lot of sleepless nights

Re:How Great Programmers Avoid Bugs by mfukar on Friday May 20, 2016 @01:42PM (#11739863)
Yeah, but it's easier to think tweet-sized thoughts.
Re:How Great Programmers Avoid Bugs by hvmonk on Friday May 20, 2016 @01:46PM (#11739907)
So, does that demean it? A thought is just a seed, and the onus of growing/nurturing it is on the thinker.
Re:How Great Programmers Avoid Bugs by pizlonator on Friday May 20, 2016 @02:04PM (#11740062)
"Just try to think of all the possibilities" is excellent advice. I got told that when I was a younger programmer. Now I live by it. I agree that it's not an easily actionable kind of advice, but probably in any field some of the best advice is not easy to understand or put into practice.