this post was submitted on 01 Sep 2023
338 points (96.2% liked)

Programming

17553 readers
429 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 5) 50 comments
sorted by: hot top controversial new old
[–] lukstru@feddit.de 8 points 1 year ago (4 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 (4 replies)
[–] vvv@programming.dev 8 points 1 year ago (22 children)

Mandatory pull requests + approvals within a team are a waste of everyone's time.

[–] apd@programming.dev 8 points 1 year ago

Big hot take to me; especially in an organization with a large size and code high standard

load more comments (21 replies)
[–] d6GeZtyi@lemmy.world 7 points 1 year ago (4 children)

Having fun when programming should be much more important than having correct or fast code when you're a programmer and should be what we should aim for first.

load more comments (4 replies)
[–] zer0@feddit.de 7 points 1 year ago (1 children)

Don't enforce using the same tech stack on each new project. When customer, domain, environment, requirements etc differ, so might the tool suite, languages, frameworks etc

load more comments (1 replies)
[–] Reptorian@programming.dev 7 points 1 year ago* (last edited 1 year ago) (7 children)

My crazy take is that there needs to be a interpretative language alternative to Python which uses brackets to define scope and/or things like elif/else/fi/endif/done. Much easier that way in my opinion, and the ";" shouldn't be necessary. I'm used to Python, but if I had another language which can be used to serve similar purpose to Python with those features, I would never code in Python again when it comes up.

Having to code in Julia and G'MIC (Domain-Specific Interpretative language that is arguably the most flexible for raster graphics content creation and editing), they're the closest to there, but they're more suitable for their respective domain than generic ones.

[–] buh@hexbear.net 7 points 1 year ago (7 children)

Ruby does that (well you use the keyword "end" instead of a bracket) but it fell out of favor before it got as big as python, to my knowledge, because of worse multithreaded performance in comparison (which I think has been fixed) and a bias towards unix systems over windows

load more comments (7 replies)
load more comments (6 replies)
load more comments
view more: ‹ prev next ›