this post is probably too nieche
yep. this post is too nietzsche
this post is probably too nieche
yep. this post is too nietzsche
Brazil did NOT make a programming language entirely in Spanish
Because we speak fucking portuguese
Also they did create LUA
Maybe if we start saying Americans speak Americanese they'll get the memo lmao
Probably would be even more effective to say they speak British.
I'll hate on python (or any dynamically typed lang) as much as the next guy, but let's not be language snobs
Why would you hate on it? It has its usecases. You won't build an OS in Python, but I'd much rather do data processing in Python than in C
i didn't say anything negative about it, I like both languages (though python is way easier). i was just stoned and made an observation
Why would Brazil choose Spanish?
Brazil is a known Mexican Country, obviously they speak Spanish
Cuz Brazil speaks Spanish, duh. Not every country has English as their language, dummy
C is the old carpenter, who can drive in nails with three strikes of the hammer and never forgets his tools.
C# is his friend who just uses power tools instead. He is fine too. He goes home early whenever he can.
Python is the new guy at work who thinks he's super smart. He actually can do the job really well, but for some reason nobody likes him all that much.
Javascript is the boss's son who got the job since he agreed to stay off pills but he does not. He is useful to be friendly with, maybe, but avoid him any day that you can. Typescript is his weird fiancée. She is significantly less stupid but much more rarely useful, and also best avoided.
Go and Rust are tight-knit friends who get shit done. They are extremely capable but also not friendly, they tend not to talk much.
Clojure does mushrooms on weekends, and seems to believe he has key insights the rest of the crew is too dim to understand, but he also makes frequent simple mistakes on the job and forgets things. Also avoid.
Java only has the job because he's known the boss since they were kids. He was never that good, but now he is old, and frequently drunk. Avoid at all costs.
COBOL handles the books because no one else can understand the system and it's too much work to change after 40 years
To start with Brazil speaks Portuguese not Spanish
I try to avoid python for two main reasons. While coding, white spaces. Who thought that was a good idea? While using, shared dependancies, again who thought thay was a good idea? I have to use pipx or manually make a venv otherwise python scripts start breaking each other. May as well just package it with its own dependancies from the get go.
I genuinely do not understand the problem with white spaces that people seem to have. Literally any well formatted code will use whitespace for indentation.
I imagine that if python syntax was the norm and then a C-style syntax language appeared, the same group of people would be complaining "curly brackets? Who thought that was a good idea?"
right? like if white space weren’t required, how would you format your code differently? arbitrary white space all over the place? no indentation? that is some spicy garbage code
Its a lot easier to find a misplaced semicolon than a double space that should have been single. With C i can make the code visually easier for me to read. I just gotta remember to end the line with ;
These uh..aren't issues you need to think about much.
I literally have to think about dependancies every time i install a python script in Debian. It always says its externally managed and use pipx. Then its not in pipx so i have to make a venv. Any other language i download and compile and it only cares about dependancies at build time.
Oh I'll agree there: whoever designed the way python works on Linux distros seems to have been brain dead. I'm also cool with any devs who think they should make user dependencies require pipx or any of the 53 not-quite-pip variants getting shot -- not dead, just like in their calves or something. Small caliber. If there isn't a simple plain pip version it's 50/50 whether the code is ever gonna work.
I'll note that python also only cares about dependencies at build time.
There are tools which allow you to build your full application including dependencies into an executable file.
I'll be honest, I think modern python is cool. You just need to accept that it has some limitations by design, but they mostly makes sense for its purpose.
It's true that the type system is optional, but it gets more and more expressive with every version, it's honestly quite cool. I wish Pylance were a bit smarter though, it sometimes fails to infer sum types in if-else statements.
After a couple large-ish personal projects I have concluded that the problem of python isn't the language, but the users.
On the other hand, C's design is barren. Sure, it works, it does the thing, it gives you very low level control. But there is nothing of note in the design, if not some quirks of the specifications. Being devoid of innovation is its strength and weakness.
As someone who studied C exclusively in school and used it for the majority of programming projects I had in the real world, coming to Python now is like moving from a kit car like a Caterham to a Mercedes S class.
A "Showerthought" is a simple term used to describe the thoughts that pop into your head while you're doing everyday things like taking a shower, driving, or just daydreaming. The most popular seem to be lighthearted clever little truths, hidden in daily life.
Here are some examples to inspire your own showerthoughts:
If you made it this far, showerthoughts is accepting new mods. This community is generally tame so its not a lot of work, but having a few more mods would help reports get addressed a little sooner.
Whats it like to be a mod? Reports just show up as messages in your Lemmy inbox, and if a different mod has already addressed the report, the message goes away and you never worry about it.