Lena to Programmer [email protected]English • 11 days agoPerfect relationshipgregtech.euimagemessage-square14fedilinkarrow-up1257
arrow-up1257imagePerfect relationshipgregtech.euLena to Programmer [email protected]English • 11 days agomessage-square14fedilink
minus-squareTJA!linkfedilink7•edit-210 days agoI really like the way kotlin is doing it. The readability of the first one and still a direct assignment. var a = if (isTrue) 2 else 9
minus-square@[email protected]linkfedilinkEnglish3•edit-210 days agoI like the python way as it reads more naturally a = 2 if isTrue else 9
I really like the way kotlin is doing it. The readability of the first one and still a direct assignment.
var a = if (isTrue) 2 else 9
I like the python way as it reads more naturally