this post was submitted on 20 Jul 2023
168 points (93.8% liked)
Fediverse
28742 readers
278 users here now
A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).
If you wanted to get help with moderating your own community then head over to [email protected]!
Rules
- Posts must be on topic.
- Be respectful of others.
- Cite the sources used for graphs and other statistics.
- Follow the general Lemmy.world rules.
Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I'm not talking about any particular language.
Modern programming languages are as complex as natural languages. They have sophisticated and flexible grammars. They have huge vocabularies. They're rich enough that individual projects will have a particular "style". Programming languages tend to emphasize the imperative and the interrogative over the indicative but they're all there.
Most programming languages have a few common elements:
Some way to remember things
Some way to repeat sets of instructions
Some way to tell the user what it's done
Some way to make decisions (ie if X then do Y)
Programmers mix and match those and, depending on the skill of the people involved, end up with Shakespear, Bulwer-Lytton, or something in between.
The essence of programming is to arrange those elements into a configuration that does something useful for you. It's going to be hard to know what kinds of useful things you can do if you're completely fresh to the field.
Python and Javascript are great. The main reasons I wouldn't recommend them for an absolute beginner is that it takes some time to set up and, even after that, there's a bit of a curve before you can do something interesting.
If they go and change configuration settings in an app, they're learning to manipulate variables.
If they click a "do this N times" they've learned to create a loop.
etc.