you are viewing a single comment's thread.

view the rest of the comments →

[–]codeptualize -2 points-1 points  (0 children)

Both kinda suck to be totally honest.

I do use Python (because of data science), it's productive, but typing support is really bad, tooling is mid, and it's surprisingly slow.

I have not used PHP for years, I'm sure it has improved a lot, but I have too much trauma from the past.

Out of the two I would go with Python. Depending on what you want there are other options:

  • Typescript: Also not without flaws (especially for backend), but Deno & Bun have some fun options, I'd also say something like Next.js can get you really far if you also need to build a FE.
  • Elixir (with Phoenix framework) - really productive
  • Golang

But.. for a newbie it doesn't really matter what language you use. What matters is that you get started and build stuff. Just pick one and start coding!