cm0002@lemmy.world to Programming@programming.dev · 1 year agoThe Koka programming languagelwn.netexternal-linkmessage-square11linkfedilinkarrow-up129arrow-down10
arrow-up129arrow-down1external-linkThe Koka programming languagelwn.netcm0002@lemmy.world to Programming@programming.dev · 1 year agomessage-square11linkfedilink
minus-squareCustodian6718@programming.devlinkfedilinkarrow-up3·1 year agoStill, Not everybody Formats their Code 💀
minus-squareatzanteol@sh.itjust.workslinkfedilinkEnglisharrow-up1arrow-down1·1 year 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·1 year agoYea until you have to view it outside a code editor
minus-squareatzanteol@sh.itjust.workslinkfedilinkEnglisharrow-up2arrow-down2·1 year agoNever a problem.
minus-squarebitcrafter@programming.devlinkfedilinkarrow-up2·1 year 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·1 year 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·1 year 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.