cm0002@lemmy.world to Programmer Humor@programming.dev · 18 hours agoWhat's stopping you from writing your Rust like this?lemmy.mlimagemessage-square51fedilinkarrow-up1326arrow-down16
arrow-up1320arrow-down1imageWhat's stopping you from writing your Rust like this?lemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 18 hours agomessage-square51fedilink
minus-squareLightfire228linkfedilinkarrow-up2·5 hours agoIf you do that, you lose formatting and comments every time you load the source from disk
minus-squareCanadaPlus@lemmy.sdf.orglinkfedilinkarrow-up2·edit-22 hours agoLosing formatting other than what you’ve set in your deparser would be the point. Losing comments would be bad, but that seems easily fixable just by giving each comment block a symbol that points to it’s contents.
If you do that, you lose formatting and comments every time you load the source from disk
Losing formatting other than what you’ve set in your deparser would be the point. Losing comments would be bad, but that seems easily fixable just by giving each comment block a symbol that points to it’s contents.