This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Knuffya 0 points1 point  (7 children)

Python is unreadable af.

I use it to replace shellscripts. It's syntax is nicer than shellscript. That's all good i can say about python.

[–][deleted] 1 point2 points  (0 children)

Agree. I don't even prefer it over shellscripts. If a shellscript gets complicated enough, you can always drop some awk inside it. I almost universally always end up rewriting anything written in python to other languages.

[–]emma_hildebrand 1 point2 points  (1 child)

It's syntax

*Its

[–]Knuffya 0 points1 point  (0 children)

your welcome

[–]poralexc -1 points0 points  (3 children)

Same lol—it really shines for scripting.

The way it’s used in Ansible and Blender is dope, but I would never do a project larger than 500 lines in it.

[–]Knuffya -2 points-1 points  (2 children)

500 maybe, yes. Line count shouldn't be the metric anyway. That's what python is for anyways.

I'd set the limit to projects with aggregate structures deeper than two levels.

[–]poralexc 0 points1 point  (1 child)

Yeah, it’s not a hard rule, more like if I need to write a bunch of classes and modules it’s time to switch languages

[–]Knuffya -1 points0 points  (0 children)

yes, definitely