News for hackers. Stuff that matters.
Re:Unit Testing Is Overrated by eropple on Thursday July 09, 2020 @09:52AM (#23780186)
"Computational" code that isn't by the vernacular definition of "functional"--and you can write functional code regardless of programming language--is something of a red flag to me.

Operate only on your inputs. Return all of your outputs. No side effects.

Re:Unit Testing Is Overrated by dgb23 on Thursday July 09, 2020 @04:10PM (#23784557)
I think OP meant that functional code is inherently imperative under the hood.
Re:Unit Testing Is Overrated by eropple on Thursday July 09, 2020 @11:31PM (#23787869)
Sure, but "functional" code, in the vernacular, means a rather less specific version of that.

You can, after all, write "functional C". (It can be hard, though.)