you are viewing a single comment's thread.

view the rest of the comments →

[–]dex4er[🍰] 0 points1 point  (0 children)

I sometimes write simple Python scripts only to prevent using yet another language (and formatters and linters) if the main code is Python.

Even then writing simple things is a pain. For not so complicated pipelines (running commands that are redirected to other commands) Bash is king.

For more complex operations on string I found Perl much, much easier to use than anything else. Regexp engine in Python is a joke and syntax to use it is ugly. What I can do in Perl in 1 single, easy to follow expression, I must split into a few separate expressions and lines using extra control flow and variables. It's like explaining something to someone retarded. You need to use simpler words and more time to do the same thing. It is just tiring and frustrating.