python-discord / meta

Issue tracker for suggestions and other questions relating to our community
https://pythondiscord.com
31 stars 5 forks source link

Tag: Ternary Operator #111

Open RohanJnr opened 3 years ago

RohanJnr commented 3 years ago

Description

A new tag that explains the following:

A different approach

Since we don't already have a tag for if-else, we could have 1 tag for both if-else and ternary operator, stating their differences and syntax or we could skip the if-else if it seems to be quite basic.

Objectivitix commented 3 years ago

yesssss i would love this!

swfarnsworth commented 3 years ago

I don't think the demand for an if-else tag is there, though each tag needs to be bite-sized, so let's start with just ternary.

MarkKoz commented 3 years ago

While "ternary" is more recognisable, this is technically called a "conditional expression" in python.

swfarnsworth commented 3 years ago

I've removed my assignment in case anyone else thinks they will get to it before me, though I may do it in the future.