this post was submitted on 01 Sep 2023
324 points (96.6% liked)

Programming

23394 readers
165 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 4) 50 comments
sorted by: hot top controversial new old
[–] CodeBlooded@programming.dev 9 points 2 years ago (2 children)

Python, and dynamically typed languages in general, are known as being great for beginners. However, I feel that while they’re fun for beginners, they should only be used if you really know what you’re doing, as the code can get messy real fast without some guard rails in place (static typing being a big one).

load more comments (2 replies)
[–] valentino@lemmy.ml 9 points 2 years ago (9 children)

The amount of unqualified people is staggering beginning with those who have no university education.

load more comments (9 replies)
[–] nomecks@lemmy.world 9 points 2 years ago (3 children)

If you're not a programming superstar you can probably make more money writing nothing but Terraform code for hapless enterprises.

load more comments (3 replies)
[–] callouscomic@lemm.ee 9 points 2 years ago

Good programmers need to be creative, flexible (soft skills with others), critical thinkers, and problem solvers. Lacking those kinds of features makes for a rigid and terrible programmer that is near impossible to work with or code behind. Leave the ego at the door.

[–] lukstru@feddit.de 8 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

[–] words_number@programming.dev 7 points 2 years ago (3 children)

HELL NO! If you split that function into three, but these always have to be called in succession, you win nothing but make your code WAY harder to read/follow.

load more comments (3 replies)
[–] eeleech@lemm.ee 8 points 2 years ago (6 children)

I find that S-expressions are the best syntax for programming languages. And in general infix operators are inferior to either prefix or postfix notation.

load more comments (6 replies)
[–] rikudou@lemmings.world 8 points 2 years ago (5 children)

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

load more comments (5 replies)
[–] vvv@programming.dev 7 points 2 years ago (22 children)

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

[–] apd@programming.dev 7 points 2 years ago

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

load more comments (21 replies)
[–] Reptorian@programming.dev 7 points 2 years ago* (last edited 2 years ago) (14 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.

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