😱 Falsehoods Programmers Believe in
A curated list of falsehoods programmers believe in.
The logic of the world is prior to all truth and falsehood.
— Ludwig Wittgenstein
Falsehood articles are a form of commentary on a particular subject, and are appreciated by the developer community at large for their effectiveness and terseness. They're a convenient written form to approach an unfamiliar domain by dispelling myths, point out common pitfalls, show inconsistencies and subtleties.
In a sense, Falsehood articles are a suite of wordy unit-tests covering extensive edge-cases provided by real-world usage.
>in company names lead to XSS attacks - Because UK allows companies to be registered with special characters, a hacker leveraged them to register
\"> LTD, but also
; DROP TABLE "COMPANIES";-- LTD,
BETTS & TWINE LTDand
SAFDASD & SFSAF \' SFDAASF\" LTD.
tax- A PHP 5.4+ tax management library.
yyyy, and why your year may be wrong - String formatting of date is hard.
Lots of things are said, written and believed about postdoctoral researchers that are simply not true..
Misterand drops it.
NSPersonNameComponentsFormatter- Localized representations of the components of a person's name.
On character encoding, string formatting, unicode and internationalization.
Latin-1Assumptions - Most programmers spend so much time with
Latin-1they forgets about other's scripts quirks.
hostname-validate- An attempt to validate hostnames in Python.
20252) because he gets so much mail.
libaddressinput- Google's common C++ and Java library for parsing, formatting, and validating international postal addresses.
addressing- A PHP 5.4+ addressing library, powered by Google's dataset.
postal-address- Python module to parse, normalize and render postal addresses.
address- Go library to validate and format addresses using Google's dataset.
mtime- Part of a post on why file's
mtimecomparison could be considered harmful.
0.1 + 0.2 != 0.3."
/dev/urandom- There are a few things about
/dev/randomthat are repeated again and again. Still they are false.
Your contributions are always welcome! Please take a look at the contribution guidelines first.