4 ms·
The following article has influenced my naming choices ever since I first read it: https://www.joelonsoftware.com/2005/05/11/making-wrong-code-look-wrong/ http
by domador 6y ago
The following article has influenced my naming choices ever since I first read it:
https://www.joelonsoftware.com/2005/05/11/making-wrong-code-look-wrong/ https://www.joelonsoftware.com/2005/05/11/making-wrong-code-...
- whatshisface 6y agoIt's interesting how programmers tend to reinvent the idea of type systems after enough experience. The us_ prefix is a manually checked Us(String) type. Fortunately in modern languages we can express that at the function signature level and we don't need to spend "three weeks" training our eyes!
- dragonwriter 6y agoRelying on naming discipline as opposed to the more reliable features available in a language with any of (1) static typing, or (2) class-based OOP, or (3) prototypical OOP, seems...unnecessarily error-prone.