Maven (famous)@lemmy.zip to Programmer Humor@programming.dev · 2 months agoModern Programminglemmy.zipimagemessage-square22linkfedilinkarrow-up117arrow-down10
arrow-up117arrow-down1imageModern Programminglemmy.zipMaven (famous)@lemmy.zip to Programmer Humor@programming.dev · 2 months agomessage-square22linkfedilink
minus-squareDreadPirateShawn@lemmy.blahaj.zonelinkfedilinkarrow-up2·2 months agoThe ternary syntax is really my only real gripe with python design – putting the conditional BETWEEN the true and false values feels so very messy to me.
minus-squarebalsoft@lemmy.mllinkfedilinkarrow-up0·edit-22 months agoEh, reads pretty naturally to me. That said, (like I lisp)
minus-squareShareni@programming.devlinkfedilinkarrow-up1·2 months agoLisps makes more sense to me though (if condition a b) VS a if condition else b
minus-squarerovingnothing29@lemmy.worldlinkfedilinkarrow-up0arrow-down1·2 months agoOh, (you) (really) (like) (Lisp)? (That’s) (great!)
minus-squareidunnololz@lemmy.worldlinkfedilinkarrow-up0·2 months agoAt least you guys have ternary syntax cries in kotlin.
minus-squareaubeynarf@lemmynsfw.comlinkfedilinkarrow-up1·2 months agoin Scala, everything is an expression, including “if”, maybe kotlin is the same?
The ternary syntax is really my only real gripe with python design – putting the conditional BETWEEN the true and false values feels so very messy to me.
Eh, reads pretty naturally to me. That said,
(like I lisp)
Lisps makes more sense to me though
(if condition a b)
VS
a if condition else b
Oh, (you) (really) (like) (Lisp)? (That’s) (great!)
At least you guys have ternary syntax cries in kotlin.
in Scala, everything is an expression, including “if”, maybe kotlin is the same?