Daniel's Stuff


How I choose a programming language

Jan 12 2022

Here's my opinionated workflow for choosing the right
programming language for the job:

0: Is it under 5 lines?
Yes: Goto 1
No: Goto 3

1: Is it just a quick script?
Yes: Use Shell
No: Goto 5

5: Is it for a server?
Use PHP.

3: It it for a some random idea?
Yes: Use Python
No: Goto 6

6: Is it for a server?
Yes: Use Go
No: Goto 7

7: Is it for systems programming?
Yes: Use C.
No: Goto 8

8: Will it probably end up running on the web?
Yes: Use JavaScript
No: Goto 3