πŸ’¬ Reply by AVincentInSpace

2024-11-19 πŸ”„ programmerhumor ┃ RE: QuazarOmega

why would you call it anything other than the ternary operator

AVincentInSpace

QuazarOmega

πŸ”„ programmerhumor

πŸ’¬ Replies

2024-11-20 dev_null ┃ edited ┃ 1πŸ’¬

Because it’s not one. Ternary operator is A ? B : C, Elvis operator is A ?: B. The same two characters are involved, but both the syntax and effect is different.

2024-11-19 QuazarOmega

Read further down on my other comment to understand, it’s just how the operator looks

────

View parent post

View first post in thread

View thread

────

πŸ“‘ Local feed

πŸ•οΈ Communities

πŸ”₯ Hashtags

πŸ”Ž Search posts

πŸ”‘ Sign in

πŸ“Š Status

πŸ›Ÿ Help