2 ms·
Aesthetically, it's consistent with the article. Technically it's consistent with ordinary practice. e.g. import naughtsAndCrosses as nan
by brudgers 7y ago
Aesthetically, it's consistent with the article.
Technically it's consistent with ordinary practice. e.g.
import naughtsAndCrosses as nan
- gtf21 7y agoI'm not sure this is "ordinary practice", especially as `nan` often refers to "not a number" as an error category. Typing full words doesn't take that much longer than acronyms, and results in more readable code (although this is well enough established at this point that I don't think I need to go over it).
- brudgers 7y agoBugs are ordinary practice. Importing naughts and crosses is not. I giggled mischeviously when I wrote it. Particularly since it looked Pythonic. YMMV.