this post was submitted on 08 Sep 2023
498 points (94.0% liked)

Programmer Humor

24790 readers
1099 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Johanno@feddit.de 3 points 2 years ago (2 children)

Si you say I should use python for websites?

[–] Nerd02@lemmy.basedcount.com 12 points 2 years ago

There's no real alternatives to JS "for websites" (meaning on the frontend, the part of your code that gets executed on your client's browser). That's what JS was invented for and what it does best.

I say "no real alternative" because technically we also have WebAssembly, which is a tool that allows you to run code written with any language on the web, but if you indeed are a beginner approaching to web development you should just forget about this for now and stick to JS as you learn.

Of course this doesn't mean that you can't use Python on your backend, your server.

[–] Lmaydev@programming.dev 1 points 2 years ago

Unsafe rust is your best bet.