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.
Slashing is overrated. They’re less likely to connect because they’re slower and easier to see (it’s easier for humans to detect movements across your vision than movement directly toward you). They also have less effect since the force is spread out over a larger area. Yes, you can generate huge forces in a swing if you really wind up and hit with just the right part of the weapon or tool but that haymaker is never going to connect against an opponent who’s still awake.
The big advantage of slashing is that it’s easier. It’s the simple dumb response when you had someone a heavy thing. It also often works better than just using your fist or dropping the weapon all together but it’s generally not the best way to use a weapon.
And yes, there are exceptions. Slashing with knives and one handed sticks can be extremely effective. But even with those, stabbing tends to be at least as effective and all these effects are exasperated with larger weapons. Just take a metal bar the size of big sword and swing it at a tree. Then see how many times you could poke that tree in the same time.