cm0002@lemmy.world to Programming@programming.dev · 5 days agoThe Koka programming languagelwn.netexternal-linkmessage-square11fedilinkarrow-up119arrow-down10
arrow-up119arrow-down1external-linkThe Koka programming languagelwn.netcm0002@lemmy.world to Programming@programming.dev · 5 days agomessage-square11fedilink
minus-squareatzanteol@sh.itjust.workslinkfedilinkEnglisharrow-up1arrow-down1·4 days 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-squarebitcrafter@programming.devlinkfedilinkarrow-up2·4 days 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·4 days 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-up1·4 days agoSaying that the problem of formatting goes away if you have a carefully configured IDE is an excuse, not a reason.
minus-squareCustodian6718@programming.devlinkfedilinkarrow-up2·4 days agoYea until you have to view it outside a code editor
minus-squareatzanteol@sh.itjust.workslinkfedilinkEnglisharrow-up1arrow-down2·4 days agoNever a problem.
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.
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.
Yea until you have to view it outside a code editor
Never a problem.