Knowledgebase

Programming Languages: Everything That Matters, Briefly Print

  • programminglanguages, programming, errors, performance, security, troubleshooting, guide, howto
  • 0

The whole category in one page.

EVERY LANGUAGE TRADES OFF SPEED OF WRITING, SPEED OF RUNNING, SAFETY AND CONTROL

None achieves all four. Most language arguments are about which trade-offs matter for a particular problem.

CONCEPTS TRANSFER; SYNTAX DOES NOT

Variables, control flow, functions, data structures and error handling are the same everywhere, which is why the second language is far easier than the first.

Learn the differences first — typing, memory, concurrency and error handling shape everything else.

THE ECOSYSTEM MATTERS MORE THAN THE SYNTAX

You will spend more time using libraries than admiring language features, and several domains decide the language for you.

MEMORY FAULTS AND RACE CONDITIONS ARE THE HARDEST CLASSES OF BUG

Which is why languages eliminating them at compile time have gained ground, and why memory-safe languages are preferred in security-sensitive work.

MOST APPLICATIONS ARE NOT LIMITED BY THEIR LANGUAGE

Measure before concluding otherwise. It is nearly always a query without an index or a request in a loop.

NEVER SILENTLY DISCARD AN ERROR, IN ANY LANGUAGE

The program continues in an unknown state with the cause invisible.

ADOPT THE LANGUAGE'S FORMATTER, LINTER AND TESTING TOOLS IMMEDIATELY

And write idiomatically — code following conventions is read faster and maintained by anyone who knows the language.

CHOOSE BY WHO WILL MAINTAIN IT


Was this answer helpful?
Back

Are you happy with your experience? Leave us a review on Trustpilot.


Trustpilot