73
Is there any use in learning an "easy" programming language?
(sh.itjust.works)
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
Follow the wormhole through a path of communities !webdev@programming.dev
Python is designed as an easy language. Yet it is a fundemental important language in the IT, backbone of many Linux operating systems and servers. One could even say... a serious language.
I personally wouldn't care if a language is called "easy" or not. You should also look at what it is capable at its peak and where it is used most often, if it works for you. Pick the language that you think fits you the best. I wouldn't call Zig as an easy language to get into, its still low level language.
Yeah, I'd like to add that there's something to being dedicated to one language, especially if you're self taught. I could certainly cobble something together in C, but having coded in python for nearly a decade I've built up an intuition for it. I know where things fail. I know what to do when things fail. I know what packages are common. I've built up a collection of utility functions. I know common patterns. Despite never having been taught algorithms or data structures, being committed to one language has led me to learn how to write efficient code in that language (rather than hoping switching to C will magically solve bad algorithms).
My code is still weird as hell and offends professional programmers, but it'd be hard to deny that I know what I'm doing.
???
'Scuse me, hwat?
Try uninstalling Python from Ubuntu and see what happens. (Do NOT actually try this.)
Did you not know that several package managers like DNF/yum are written in python? There's a ton of tools like that for each os and a lot of the time Python is the tool of choice.
Dnf5 is written in C++
My point is that I wouldn't call it a backbone. There are always alternatives in different languages, and python version is oft not the default or main one. C(++) is the backbone of Linux.
Except Fedora I think, iirc they use python packages often.