this post was submitted on 01 Sep 2023
13 points (100.0% liked)

Programming

19701 readers
254 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
(page 2) 32 comments
sorted by: hot top controversial new old
[–] rikudou@lemmings.world 1 points 2 years ago

Modern PHP is great and people judging it by PHP 5 (version that's almost 20 years old) are idiots.

[–] hellishharlot@programming.dev 0 points 2 years ago (1 children)

Using single character variable names is always bad practice

load more comments (1 replies)
[–] words_number@programming.dev 0 points 2 years ago (1 children)

JS is horse shit. Instead of trying to improve it or using that high level scripting language as a compilation target (wtf?!), we should deprecate it entirely and put all efforts into web assembly.

[–] reverendsteveii@lemm.ee 0 points 2 years ago (1 children)

Idk anything about web assembly but I 100% agree that JS is absurd and feels like it was created in a weekend by some schmuck who just wanted to be able to edit html on the fly because it was.

load more comments (1 replies)
[–] lukstru@feddit.de -1 points 2 years ago (1 children)

If your function is longer than 10 statements, parts can almost always be extracted into smaller parts. If named correctly, this improves readability significantly

load more comments (1 replies)
[–] rk96@lemmy.one -1 points 2 years ago

PHP aint all that bad

[–] qwerty@discuss.tchncs.de -2 points 2 years ago

Internet would be better if javascript was never invented.

load more comments
view more: ‹ prev next ›