Don’t let yourself down because you don’t know the syntax off the top of your head.
Even after 15 years of programming, and studying computer science, I would have to look up how to write loops, conditions, variable assignments in bash / sh / batch.
Coming to python from a primarily java focus background wasn’t any different. I knew what steps the program should do, but had to look up how to translate it into whatever language. And for further improvements what features the language has to express the things “in the style of the language”
regular_human@lemmy.world 1 year ago
For loops in scripting languages like bash should be a punishment. Try out something like python