225
submitted 5 days ago* (last edited 5 days ago) by QuinnyCoded@sh.itjust.works to c/showerthoughts@lemmy.world

also I just realized that Brazil did NOT make a programming language entirely in Spanish and call it "Si" and that my professor was making a joke about C... god damn it

this post is probably too nieche but I feel like Lemmy is nerdy enough that enough people will get it lol

you are viewing a single comment's thread
view the rest of the comments
[-] hardcoreufo@lemmy.world 10 points 4 days ago

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.

[-] Kacarott@aussie.zone 24 points 3 days ago

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?"

[-] pupbiru@aussie.zone 6 points 3 days ago

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

[-] hardcoreufo@lemmy.world 1 points 2 days ago

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 ;

[-] squaresinger@lemmy.world 2 points 3 days ago

The first language I learned had a if-endif-style syntax. Curly braces SUCK compared to that.

The only downside that whitespaces have is that they often get lost when copy-pasting them.

It's virtually impossible to share a small python snippets over some messengers. Other than that I prefer whitespaces over curly braces.

[-] Tomato666@lemmy.sdf.org 3 points 3 days ago

"Hold my beer" shouted the Tcl interpreter

[-] balance8873@lemmy.myserv.one 7 points 4 days ago

These uh..aren't issues you need to think about much.

[-] hardcoreufo@lemmy.world 1 points 2 days ago

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.

[-] balance8873@lemmy.myserv.one 1 points 2 days ago* (last edited 2 days ago)

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.

[-] ATPA9@feddit.org 1 points 3 days ago

Those are issues I was forced to think about a lot...

[-] PlexSheep@infosec.pub 1 points 3 days ago

Thats nit my problem with it. My problem is that it's too dynamic, especially that I can't have proper types

[-] twice_hatch@midwest.social 1 points 3 days ago

I always use uv for Python stuff these days

this post was submitted on 20 Oct 2025
225 points (100.0% liked)

Showerthoughts

37867 readers
824 users here now

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:

Rules

  1. All posts must be showerthoughts
  2. The entire showerthought must be in the title
  3. No politics
    • If your topic is in a grey area, please phrase it to emphasize the fascinating aspects, not the dramatic aspects. You can do this by avoiding overly politicized terms such as "capitalism" and "communism". If you must make comparisons, you can say something is different without saying something is better/worse.
    • A good place for politics is c/politicaldiscussion
  4. Posts must be original/unique
  5. Adhere to Lemmy's Code of Conduct and the TOS

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.

founded 2 years ago
MODERATORS