News for hackers. Stuff that matters.
Re:It's probably time to stop recommending Clean Code by newaccount74 on Saturday November 13, 2021 @03:50AM (#29208415)
What is the difference between a function and a procedure to you? I assume it's not just about whether something returns a value or not.

The only language I use that differentiates between functions and procedures is PostgreSQL, and to be honest I find the distinction pretty annoying in practice. One can return values, the other can control transactions. So when refactoring code you sometimes need to make a function a procedure or vice versa and it's a pain. (As a consequence, I try to always use functions to make things easier)

Re:It's probably time to stop recommending Clean Code by __vim__ on Saturday November 13, 2021 @11:56AM (#29211210)
Fortran distinguishes between the two as well.