Python's version of a ternary operator is

<A> if <condition> else <B>

I hate this

@wallhackio You also program in Python? Besides Java & JavaScript? :psyduck:

@vaporeon_ it's a scripting language that looks like Java

what JavaScript sounds like it's supposed to be, is what Groovy actually is

@vaporeon_ we built a desktop application with Python, which I can say from experience is an absolute nightmare and you shouldn't do it

@vaporeon_ it has nothing to do with Python and everything to do with the fact that all of the Python frameworks for desktop application development are not good yet

@vaporeon_ IF THE APPLICATION IS COMPLICATED. for simple little teeny things there are plenty of awesome Python libraries

@wallhackio I've tried Tkinter before, but it makes you do object-oriented stuff if I remember correctly

Unlike real Tcl/Tk where you can just write extremely sloppy code and it'll Just Work

@vaporeon_ nested python ternaries are things the devil itself would write

@vaporeon_ I did actually get used to it but I felt the same way when I first starting using Python lol

@aescling @vaporeon_ I fucking loved the one lisp-like language I learned in college

@aescling @wallhackio "Learn LISP" is on my TODO list because I'm not a Real Programmer if I don't know LISP
I feel like I'm missing out on important things
But unfortunately, I have too many side-projects already

Sign in to participate in the conversation
📟🐱 GlitchCat

A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.