Programming Facts's Avatar

Programming Facts

@webfacts

Daily pseudorandom fun facts / jokes about programming. Made by @gaimeri.github.io using @bluebotsdonequick.com If you have a fact, and would like to share it: https://forms.gle/bfYZ4cm5VJh9aQWd8

14
Followers
6
Following
313
Posts
03.05.2025
Joined
Posts Following

Latest posts by Programming Facts @webfacts

Logging is great until you forget to turn it off and generate 10GB of logs in an hour.

08.03.2026 17:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

There's a regex for detecting a mobile browser. Years ago it was the best way to detect one. Years ago.

07.03.2026 17:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Never trust a form until it's been validated twice and called its mother.

06.03.2026 17:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

You can inline all your CSS in a single style attribute. You probably shouldn’t unless you're paid by the byte.

05.03.2026 17:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

There are 1,000 JavaScript frameworks. Only 12 are maintained. None are documented.

04.03.2026 17:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Who needs HTTPS? It worked in 2005!

03.03.2026 17:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

WebAssembly runs at near native speeds. Thankfully programming languages don't get speeding tickets.

02.03.2026 17:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

You can write your front-end in WebAssembly. You probably shouldn’t. But it will be fast while breaking.

01.03.2026 17:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Elixir runs on the Erlang VM (BEAM), which means it can literally handle millions of concurrent processes without breaking a sweat.

28.02.2026 17:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

YAML: Where whitespace matters and dreams go to die.

27.02.2026 17:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Hardcoding API keys is fine β€” just rename the file to config-secure.js.

26.02.2026 17:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Writing your first triangle in Vulkan is a rite of passage. It might also cost you your weekend.

25.02.2026 17:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Set autocomplete="off" on sensitive form fields like OTPs or credit card numbers β€” because browsers mean well, but sometimes too well.

24.02.2026 17:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Why did the web designer break up with the desktop? Because they found someone more responsive! (is this too much?)

23.02.2026 17:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

We protect our app with Cloudflare. Internally, it’s just chaos.

22.02.2026 17:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

You can remix other people’s Scratch projects β€” a built-in version of open source.

21.02.2026 17:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Commit messages evolve like PokΓ©mon: β€œfix bug” β†’ β€œtemporary fix” β†’ β€œhow did this even work”

20.02.2026 17:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Perl doesn’t have bugs, it has β€œundocumented regex features.”

19.02.2026 17:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

You can write a calculator in CSS. But the real math is in the padding.

18.02.2026 17:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

We use OAuth 2.0… badly.

17.02.2026 17:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

I disabled CSRF protection temporarily. That was six months ago.

16.02.2026 17:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

A programmer has a problem. They decide to use floating-point numbers. Now they have 1.000000000000000009 problems.

15.02.2026 17:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
https://window.name

You can store the session token in window.name. You probably shouldn’t.

14.02.2026 17:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Bash tip: !! repeats the last command, and !$ repeats the last argument. Dangerous power in two keystrokes.

13.02.2026 17:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Rustacean – Fearless, safe, and fiercely loyal to lifetimes.

12.02.2026 17:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Caching static assets with versioned filenames (e.g., style.v2.css) helps prevent users from seeing stale files.

11.02.2026 17:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Security warning? Just click β€œIgnore and proceed” like a real dev.

10.02.2026 17:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

HTML5 form validation (required, pattern, etc.) gives free UX improvements β€” no JavaScript required.

09.02.2026 17:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

I asked for a weekend off. They gave me on-call duty instead.

08.02.2026 17:00 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

There are only 10 kinds of people in this world: those who know binary and those who don't.

07.02.2026 17:00 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0