this post was submitted on 30 Sep 2023
101 points (91.1% liked)
Programming
17526 readers
275 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
view the rest of the comments
Since nobody else have said it, Python. It's quick and easy to set up all kinds scripts with it. No need to compile and most Linux distros comes with python pre installed so you're are just one ctrl+v or git clone away from being able to run your scripts.
You got libraries for all sorts of things, and if you need performance, C and Rust interface all nicely with it. Just remember to use type hints.
Python is my go-to in a lot of situations. Initially I really hated the "whitespace has meaning" feature of it. Now after more than a decade of using it, I've gotten used to it, but I still really dislike the the whitespace scoping.
Everything else is great, I just miss my brackets.
IMO whitespace is one of its biggest selling points. It makes code so much easier to read that keeping track of how deep you're in and which bracket to close. Makes refactoring easy too: select stuff with a certain indentation, cut it out and replace it with a single call or something. No looking for the brackets.
Yes, as long as you just type annotation and checker-clean code.
Asyncio programming is a delight, context-based constructs can make sophisticated code safe, robust, and clear. Anything mildly popular you want to interface with probably has a library... There are major advantages to swimming in the mainstream.
Yes it may have grubby and suboptimal corners, but in the real world, making things happen, problems are easy to avoid usually.