Re:Controversial Programming Opinions (2012)
by iab on Friday December 04, 2020 @12:07PM
(#25304825)
I prefer functions with no inputs, quite honestly . No outputs either. Also no internal logic. To hell with variables as well.
I mean consider this example of a "controversial opinion":
> Print statements are a valid way to debug code.
I'd place this about as controversial as "functions with many arguments are an ok choice".
The fact that there is neither a statement about the proper indexing of arrays or which programming language to never use is clear evidence this list isn't about controversial topics.