cm0002@lemy.lol to Programmer Humor@programming.dev · 2 days ago;;;;;;lemy.lolimagemessage-square139linkfedilinkarrow-up1894arrow-down121
arrow-up1873arrow-down1image;;;;;;lemy.lolcm0002@lemy.lol to Programmer Humor@programming.dev · 2 days agomessage-square139linkfedilink
minus-squareLeFrog@discuss.tchncs.delinkfedilinkarrow-up40arrow-down1·2 days agoas a fellow Python user, I fucking hate significant whitespace. Also YAML. WTF they where thinking
minus-squareTwilightKiddy@scribe.disroot.orglinkfedilinkEnglisharrow-up22·2 days agoThere were plenty of blanks in their thoughts.
minus-squareSwooshBakery624 [they/them]@programming.devlinkfedilinkEnglisharrow-up7·2 days agoYou could even say they had plenty of space in their heads.
minus-squareGet_Off_My_WLAN@fedia.iolinkfedilinkarrow-up11·2 days agoI will take YAML’s string blocks where I don’t have to escape special characters over JSON any day.
minus-squareErr(()).unwrap()@lemmy.worldlinkfedilinkarrow-up2·14 hours agoI will take a hammer to my balls if it means I never have to use <![CDATA[ again.
minus-squareSibbo@sopuli.xyzlinkfedilinkarrow-up8·2 days agoIt’s to make students actually format their code correctly
minus-squareesc@piefed.sociallinkfedilinkEnglisharrow-up5·2 days agoThey are alright, yaml problems are overblown, significant whitespace as well.
minus-squarewe_need_more_dwellings@piefed.worldlinkfedilinkEnglisharrow-up5·1 day agoWhitespaces are not problem at all. But YAML values parsing rules, uh boy…
minus-squareesc@piefed.sociallinkfedilinkEnglisharrow-up3·1 day agoThere is pyyaml, probably other libraries, that take the pain away.
minus-squareErr(()).unwrap()@lemmy.worldlinkfedilinkarrow-up8arrow-down3·2 days ago…that modern systems should stop sucking at parsing leading whitespaces.
minus-squarerockSlayer@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up3·1 day agoI don’t really have a solution for the whitespace issue, but you could always switch to TOML
minus-squarerumschlumpel@feddit.orglinkfedilinkarrow-up4arrow-down2·1 day agoSignificant whitespace is the best! I don’t understand why so many people have issues with it.
minus-squareOddMinus1@sh.itjust.workslinkfedilinkarrow-up3·1 day agoDon’t worry, I’m a Java dev, and I’ll replace the whitespace in my indentations with semicolons. That should keep us sufficiently covered with semicolon usage.
minus-squareExecutive Chimp@discuss.tchncs.delinkfedilinkarrow-up4·1 day agoPython is the jazz of programming languages. It’s about the characters you don’t type.
Python developer: LOL. LMAO
as a fellow Python user, I fucking hate significant whitespace. Also YAML. WTF they where thinking
There were plenty of blanks in their thoughts.
You could even say they had plenty of space in their heads.
I will take YAML’s string blocks where I don’t have to escape special characters over JSON any day.
I will take a hammer to my balls if it means I never have to use
<![CDATA[again.It’s to make students actually format their code correctly
They are alright, yaml problems are overblown, significant whitespace as well.
Whitespaces are not problem at all. But YAML values parsing rules, uh boy…
There is
pyyaml, probably other libraries, that take the pain away.…that modern systems should stop sucking at parsing leading whitespaces.
I don’t really have a solution for the whitespace issue, but you could always switch to TOML
Significant whitespace is the best! I don’t understand why so many people have issues with it.
Fussy.
DWIM
Don’t worry, I’m a Java dev, and I’ll replace the whitespace in my indentations with semicolons. That should keep us sufficiently covered with semicolon usage.
Python is the jazz of programming languages. It’s about the characters you don’t type.