this post was submitted on 31 Aug 2025
29 points (100.0% liked)

Programming

23926 readers
189 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
you are viewing a single comment's thread
view the rest of the comments
[โ€“] atzanteol@sh.itjust.works -2 points 3 months ago (9 children)

Functional language developers are obsessed with side effects but I rarely ever see problems with it in real code. Like I can remember once in maybe 10 years setting a developer write a "get" method that also wrote to a file. Caught during code review, rewritten easily.

Also - it's sad to see languages still using whitespace for code blocks. Respect programmers, use proper start/end symbols for that. It's not the 80s, development tools can format code now.

[โ€“] Custodian6718@programming.dev 3 points 3 months ago (1 children)

Still, Not everybody Formats their Code ๐Ÿ’€

[โ€“] atzanteol@sh.itjust.works 0 points 3 months ago (2 children)

If I'm viewing poorly formatted code it's literally one key chord for me to auto-format it. It's a complete non-issue.

[โ€“] bitcrafter@programming.dev 2 points 3 months ago (1 children)

Interesting... so in the end, if the whitespace is not telling you what the code is doing, you reformat it so that it does?

Imagine if there were languages that just let you skip that step entirely!

[โ€“] atzanteol@sh.itjust.works 1 points 3 months ago (1 children)

The step I want to skip is having to go back and tab over lines when I've moved code or when things don't paste properly and tabbing gets messed up.

Imagine if there were languages that let you just explicitly state where code blocks start/end and let the IDE handle the formatting for you?

[โ€“] bitcrafter@programming.dev 2 points 3 months ago

Saying that the problem of formatting goes away if you have a carefully configured IDE is an excuse, not a reason.

[โ€“] Custodian6718@programming.dev 2 points 3 months ago (1 children)

Yea until you have to view it outside a code editor

[โ€“] atzanteol@sh.itjust.works 0 points 3 months ago

Never a problem.

load more comments (7 replies)