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