←back to thread

Against Best Practices

(www.arp242.net)
279 points ingve | 1 comments | | HN request time: 0.207s | source
Show context
worik ◴[] No.42175680[source]
No.

I've worked too often with people who think they know better

They do not

Straw men do not change the fact that "best practices" , especially the ones quoted, are very good.

No sensible person is saying "never use globals". We caution you to think very carefully before you do, only for truly global state.

I am suffering from inherited code, written by a very good programmer, who got lazy with globals and comments. Too many of the former, too few of the later. What a nightmare

This article is arrant nonsense

replies(2): >>42175973 #>>42180859 #
1. recursive ◴[] No.42175973[source]
> No sensible person is saying "never use globals".

Maybe so, but still, plenty of people are saying it.