C is too cold. Python is too hot. What is just right?
Showerthoughts
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:
- Both “200” and “160” are 2 minutes in microwave math
- When you’re a kid, you don’t realize you’re also watching your mom and dad grow up.
- More dreams have been destroyed by alarm clocks than anything else
Rules
- All posts must be showerthoughts
- The entire showerthought must be in the title
- 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
- Posts must be original/unique
- 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.
Python is 34 years old already. That means, someone who was already working as a programmer when Python came out would have to be about 54 years or older now.
I wonder why people still think it's the hot new thing.
When Python came out, C was 19 years old. So Python is almost twice as old now as C was when Python came out.
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)
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").
Visual Basic.
Python is my "native" programming language, it's the first I learned, and many of my leaps in understanding of the language have resulted from thinking "Wait, Python is a smart ass. I bet it can do..."
If we're continuing this analogy, did python or js take more drugs?
Python's on edibles. JS is on a cocktail of every psychedelic known to man and has been continuously since 1995.