cm0002@lemy.lol to Programmer Humor@programming.dev · 17 days ago;;;;;;lemy.lolimagemessage-square135linkfedilinkarrow-up11
arrow-up11image;;;;;;lemy.lolcm0002@lemy.lol to Programmer Humor@programming.dev · 17 days agomessage-square135linkfedilink
minus-squareLeFrog@discuss.tchncs.delinkfedilinkarrow-up0·17 days agoas a fellow Python user, I fucking hate significant whitespace. Also YAML. WTF they where thinking
minus-squareSibbo@sopuli.xyzlinkfedilinkarrow-up0·17 days agoIt’s to make students actually format their code correctly
minus-squareErr(()).unwrap()@lemmy.worldlinkfedilinkarrow-up0·17 days ago…that modern systems should stop sucking at parsing leading whitespaces.
minus-squarerumschlumpel@feddit.orglinkfedilinkarrow-up0·17 days agoSignificant whitespace is the best! I don’t understand why so many people have issues with it.
minus-squareesc@piefed.sociallinkfedilinkEnglisharrow-up0·17 days agoThey are alright, yaml problems are overblown, significant whitespace as well.
minus-squarewe_need_more_dwellings@piefed.worldlinkfedilinkEnglisharrow-up0·17 days agoWhitespaces are not problem at all. But YAML values parsing rules, uh boy…
minus-squareesc@piefed.sociallinkfedilinkEnglisharrow-up0·17 days agoThere is pyyaml, probably other libraries, that take the pain away.
minus-squareGet_Off_My_WLAN@fedia.iolinkfedilinkarrow-up0·17 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-up0·16 days agoI will take a hammer to my balls if it means I never have to use <![CDATA[ again.
minus-squareTwilightKiddy@scribe.disroot.orglinkfedilinkEnglisharrow-up0·17 days agoThere were plenty of blanks in their thoughts.
minus-squareSwooshBakery624 [they/them]@programming.devlinkfedilinkEnglisharrow-up0·17 days agoYou could even say they had plenty of space in their heads.
minus-squarerockSlayer@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up0·17 days agoI don’t really have a solution for the whitespace issue, but you could always switch to TOML
as a fellow Python user, I fucking hate significant whitespace. Also YAML. WTF they where thinking
It’s to make students actually format their code correctly
…that modern systems should stop sucking at parsing leading whitespaces.
Significant whitespace is the best! I don’t understand why so many people have issues with it.
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.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.There were plenty of blanks in their thoughts.
You could even say they had plenty of space in their heads.
I don’t really have a solution for the whitespace issue, but you could always switch to TOML