squirrel@piefed.kobel.fyi to linuxmemes@lemmy.worldEnglish · 2 days agoGUIspiefed.kobel.fyiimagemessage-square224linkfedilinkarrow-up11.26Karrow-down128
arrow-up11.24Karrow-down1imageGUIspiefed.kobel.fyisquirrel@piefed.kobel.fyi to linuxmemes@lemmy.worldEnglish · 2 days agomessage-square224linkfedilink
minus-squareJackbyDev@programming.devlinkfedilinkEnglisharrow-up2·5 hours agoYeah, I guess that’s true. I suppose given more time to think about it I wouldn’t really complain about that. It’s mostly things like script in out that are sort of annoying versus something like script --in foo --out bar.
minus-squarekunaltyagi@programming.devlinkfedilinkarrow-up1·5 hours agoI believe API (CLI or programmatic) should never have 2 arguments of the same type but different roles next to each other without visual cues. No fn("in.txt", "out.txt") and no script in out
Yeah, I guess that’s true. I suppose given more time to think about it I wouldn’t really complain about that. It’s mostly things like
script in outthat are sort of annoying versus something likescript --in foo --out bar.I believe API (CLI or programmatic) should never have 2 arguments of the same type but different roles next to each other without visual cues.
No
fn("in.txt", "out.txt")and noscript in out