💾 Archived View for petabyt.dev › how-i-choose-a-programming-language.gmi captured on 2022-06-11 at 20:34:53. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-03-01)

-=-=-=-=-=-=-

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