News for hackers. Stuff that matters.
Re:A non-programmer’s solution to “Fizz Buzz” by Ntrails on Friday November 30, 2012 @12:40PM (#4854318)
I don't wish to complain but does that look like an infinite loop to you?

Programs are just algorithms, a flow diagram is just a different programming language

Re:A non-programmer’s solution to “Fizz Buzz” by djtriptych on Friday November 30, 2012 @01:45PM (#4854718)
It's an infinite loop, and the b variable isn't necessary, but it's interesting to see how a supposed non-programmer is able to structure a (near) solution.
Re:A non-programmer’s solution to “Fizz Buzz” by gizmo686 on Friday November 30, 2012 @07:11PM (#4856201)
It is actually a complete solution to the problem as stated. The only requirement are that the numbers 1 through 100 are printed, with fizz, buzz, and fizzbuzz replacing them where appropriate. It is not a requirement that that is all that the program does.
Re:A non-programmer’s solution to “Fizz Buzz” by Peaker on Friday November 30, 2012 @05:10PM (#4855730)
Programs are more than just algorithms, they are also documentation of that algorithm. Sometimes they also describe checked invariants of the execution of that algorithm (types).

There's probably a lot more to say about programs that doesn't fit within the "just algorithm" view.