Monday, March 17, 2025

If it's a "proper" programming language is irrelevant

I changed the way I think about programming when I realised that compiled software is predominantly made of three things:

  1. Binary assets (images, fonts, etc.)
  2. Text files written (and/or readable) by people
  3. Items generated by the above.

It's the second group that's most interesting.

Regardless of whether those text files are scripts, "code" to be compiled, mark-up, or pretty much anything else: if people are going to read (and/or write) it, isn't it beneficial that those files:

  • are easy to read
  • are easy to write
  • are consistently formatted
  • use meaningful words (names) to aid comprehension 
  • are unambiguous 
  • avoid duplication 
  • are succinct (so as to avoid unnecessary verbosity)
  • highlight issues/mistakes (or make them easy to spot)
  • have good/appropriate tooling to aid in working with them

When this isn't true, those files are harder to maintain. This makes making changes lower and, therefore more expensive.


0 comments:

Post a Comment

I get a lot of comment spam :( - moderation may take a while.