hono4kami ( @hono4kami@piefed.social ) to Programming@programming.devEnglish · 1 year agoGreppability is an underrated code metricmorizbuesing.comexternal-linkmessage-square24linkfedilinkarrow-up189
arrow-up189external-linkGreppability is an underrated code metricmorizbuesing.com hono4kami ( @hono4kami@piefed.social ) to Programming@programming.devEnglish · 1 year agomessage-square24linkfedilink
minus-square thingsiplay ( @thingsiplay@beehaw.org ) linkfedilinkarrow-up3·1 year agoThe dash - vs underscore _ is also a common “problem” with CLI arguments --file-name, that are mapped to variable names file_name.
minus-square esa ( @syklemil@discuss.tchncs.de ) linkfedilinkarrow-up2·1 year agoYeah, translating between cases isn’t exactly a problem IME. Might be neat to have a case-aware grep though, so you can get kebab-case, snake_case, camelCase and PascalCase all done in one go.
The dash
-vs underscore_is also a common “problem” with CLI arguments--file-name, that are mapped to variable namesfile_name.Yeah, translating between cases isn’t exactly a problem IME. Might be neat to have a case-aware grep though, so you can get kebab-case, snake_case, camelCase and PascalCase all done in one go.