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
[-] normalexit@lemmy.world 1 points 3 days ago

I was thinking more along the line of Goldilocks and the three bears. What is the language that feels just right to you (given the obvious issues with C and Python)

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

Makes sense what you are saying.

When it comes to programming languages, I like to think of them as tools for a job. All languages have advantages and downsides.

For server software Java is by far the best (especially if it's supposed to scale). For web frontends it's TypeScript. For very simple scripts that mostly call other tools it's bash. For more complex scripts, non-performance-critical data processing and small projects it's Python. For microcontroller work, C. For working on more performant microcontrollers C+Lua. For tests Groovy is surprisingly helpful. For game development GDScript or whatever your chosen environment supports.

The rest is just syntax. It doesn't really matter whether I use curly braces or indentation.

I do like the old if-endif block style, but sadly that doesn't really exist in mainstream languages anymore. Lua is the only thing that's kinda similar, but they only use "end", negating the advantage of being able to easier see where the "for" ends in a sea of "ifs".

I guess bash does something similar too, but "fi" and "esac" really break my fingers (and then they don't even do "elihw").

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

Showerthoughts

37867 readers
711 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