Magic Numbers Are Bad I had my friend Clint Rutkas review some code of mine. Now I have been writing code longer than Clint has been alive but he’s a very smart guy and he writes more production code than I do these days. He;s written a lot of the Channel 9 projects. He’s f...
Search or jump to... Search code, repositories, users, issues, pull requests... Provide feedback We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to ...
Search code, repositories, users, issues, pull requests... Provide feedback We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more...
Harry Roberts expounded upon my answer with lots more specific examples about bad things you can find in CSS (e.g. magic numbers, qualified classes, too vague of selectors). Harry says in this article: Use IDs in HTML for fragment identifiers and JS hooks, but never in CSS. Jeffrey Zeldm...
Particularly that I was using “magic numbers.” And I was using them a lot. What is a magic number? It can mean several things and Wikipedia has a whole post on magic numbers. But in this case the following definition explains what I was doing: Unique values with unexplained meaning or...
This happens with CPython from git master (e768c86ef442ef89004089a8a34ce5909ffb90f2): Traceback (most recent call last): File "setup.py", line 16, in <module> install_requires=["appdirs"], File ".../python3.7/distutils/core.py", line 148...
import post feud.run(post)You can even call feud.run() without providing any object, and it will automatically discover all runnable objects in the current module.As you can see, building a CLI using Feud does not require learning many new magic methods or a domain-specific language – you...
🌻 The collaborative editing software that runs Wikipedia. Mirror from https://gerrit.wikimedia.org/g/mediawiki/core. See https://mediawiki.org/wiki/Developer_access for contributing. - mediawiki/languages/i18n/th.json at 4f7513e6badb1e7a62
"title-invalid-magic-tilde": "Traženi naslov stranice sadrži nevažeći sled magičnog znaka tilda (<nowiki>~~~</nowiki>).", "title-invalid-too-long": "Traženi naziv stranice je predugačak. Ne sme biti duži od $1 {{PLURAL:$1|bajta|bajtova}} u UTF-8 ...
🌻 The collaborative editing software that runs Wikipedia. Mirror from https://gerrit.wikimedia.org/g/mediawiki/core. See https://mediawiki.org/wiki/Developer_access for contributing. - mediawiki/languages/i18n/pt.json at 3bbad57d084be5e643