(mostly collected over the last 3-4 streams)
🧘♂️
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Since Safari 13 the Wikiwand plugin is no longer available and they | |
# don't even list Safari as a supported browser anymore. | |
# | |
# Most people use some kind of ad blocker, and personally I'm using "AdGuard for Safari" which allows you | |
# to define filters that inject javascript code on certain domains. | |
# | |
# Simply add this to AdGuards "User filter", and any wikipedia article will be redirected to Wikiwand. | |
# | |
@@||wikipedia.org^$generichide,badfilter |
- Use descriptive and obvious names.
- Don't use abbreviations, use full English words.
player
is better thanplr
. - Name things as directly as possible.
wasCalled
is better thanhasBeenCalled
.notify
is better thandoNotification
. - Name booleans as if they are yes or no questions.
isFirstRun
is better thanfirstRun
. - Name functions using verb forms:
increment
is better thanplusOne
.unzip
is better thanfilesFromZip
. - Name event handlers to express when they run.
onClick
is better thanclick
. - Put statements and expressions in positive form.
isFlying
instead ofisNotFlying
.late
intead ofnotOnTime
.- Lead with positive conditionals. Avoid
if not something then ... else ... end
.
- Don't use abbreviations, use full English words.
- If we only care about the inverse of a variable, turn it into a positive name.
missingValue
instead ofnot hasValue
.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
========================== | |
How Software Companies Die | |
========================== | |
- Orson Scott Card | |
The environment that nurtures creative programmers kills management and | |
marketing types - and vice versa. | |
Programming is the Great Game. It consumes you, body and soul. When | |
you're caught up in it, nothing else matters. When you emerge into |