3 ms·
In my admittedly limited experience there seems to be at least 3 aliases for every keyword which makes reading someone else's code a real hassle sometimes. Our
by retox 10y ago
In my admittedly limited experience there seems to be at least 3 aliases for every keyword which makes reading someone else's code a real hassle sometimes. Our ops guys swear by it though.
- emodendroket 10y agoYou're supposed to avoid the aliases in scripts. Or that's what's recommended anyway.
- libraryatnight 10y agoYes, this makes for much easier to read code for people down the road :) I think OPS folks (myself included) sometimes create things thinking nobody but them will use them, then an occasion arises to share, and you're stuck with something functional but horrible to read. It took just one such occasion for me to convert to writing everything from the perspective that 'other people may need to use this.'
- viraptor 10y agoThere seem to be a few tools to do it for you automatically. ctrl+shift+a if you're using powershell studio for example. Or https://gist.github.com/DBremen/9db6632423d673ff18f6 https://gist.github.com/DBremen/9db6632423d673ff18f6
- libraryatnight 10y agoThis is cool, I'd not seen this before! Thank you for the link.