cm0002@lemmy.world to Programming@programming.dev · 2 months agoThe Koka programming languagelwn.netexternal-linkmessage-square11fedilinkarrow-up129arrow-down10
arrow-up129arrow-down1external-linkThe Koka programming languagelwn.netcm0002@lemmy.world to Programming@programming.dev · 2 months agomessage-square11fedilink
minus-squareCustodian6718@programming.devlinkfedilinkarrow-up3·2 months agoStill, Not everybody Formats their Code 💀
minus-squareatzanteol@sh.itjust.workslinkfedilinkEnglisharrow-up1arrow-down1·2 months agoIf I’m viewing poorly formatted code it’s literally one key chord for me to auto-format it. It’s a complete non-issue.
minus-squareCustodian6718@programming.devlinkfedilinkarrow-up2·2 months agoYea until you have to view it outside a code editor
minus-squareatzanteol@sh.itjust.workslinkfedilinkEnglisharrow-up2arrow-down2·2 months agoNever a problem.
minus-squarebitcrafter@programming.devlinkfedilinkarrow-up2·2 months agoInteresting… so in the end, if the whitespace is not telling you what the code is doing, you reformat it so that it does? Imagine if there were languages that just let you skip that step entirely!
minus-squareatzanteol@sh.itjust.workslinkfedilinkEnglisharrow-up1·2 months agoThe step I want to skip is having to go back and tab over lines when I’ve moved code or when things don’t paste properly and tabbing gets messed up. Imagine if there were languages that let you just explicitly state where code blocks start/end and let the IDE handle the formatting for you?
minus-squarebitcrafter@programming.devlinkfedilinkarrow-up2·2 months agoSaying that the problem of formatting goes away if you have a carefully configured IDE is an excuse, not a reason.
Still, Not everybody Formats their Code 💀
If I’m viewing poorly formatted code it’s literally one key chord for me to auto-format it. It’s a complete non-issue.
Yea until you have to view it outside a code editor
Never a problem.
Interesting… so in the end, if the whitespace is not telling you what the code is doing, you reformat it so that it does?
Imagine if there were languages that just let you skip that step entirely!
The step I want to skip is having to go back and tab over lines when I’ve moved code or when things don’t paste properly and tabbing gets messed up.
Imagine if there were languages that let you just explicitly state where code blocks start/end and let the IDE handle the formatting for you?
Saying that the problem of formatting goes away if you have a carefully configured IDE is an excuse, not a reason.