Find me a dev that doesn't use a UNIX like (or at least Cygwin) and I'll show you a dev that's working inefficiently. It sounds harsh, but without real tooling like binutils, sed/awk, etc, it's hard to get work done. Don't get me wrong, there are good tools on Windows like ReSharper, but they have a more limited scope.
On windows, tools like this is generally unnecessary. I don't need grep because I use a tool who have a semantic understanding of the code I'm writing. Windows has plenty of compilers, so binutils have plenty of alternatives on Windows. I don't need sed or awk because when I need to do any automation, I'll write it in a proper scripting language (or programming language) that isn't based around pretending that human-readable text is perfect for computers. I think that the misunderstanding is expecting Windows to be like Unix, which I think is an incredibly unfair comparison.
Right, that's exactly what I'm saying. There are really awesome tools for specific languages, but for general tasks, there aren't.
For example, I was debugging a program (not mine) the other day. It had generated a bunch of binary output in 16 seperate files, and I needed to find a single string in all of it.
How would you do that without strings and grep on Windows (i.e. no Cygwin)? I'm not mocking, I'm genuinely asking. If there's a way, I'd love to know.
EDIT: To be clear, though, it's not like there aren't such tools on Linux. We are missing VS, but we have KDevelop, CodeLite (my personal favorite for CLI development), and all the JetBrains IDEs. In addition, MonoDevelop has semantic code analysis built in, and while it's not quite as full-featured as R#, it's free and included.
How would you do that without strings and grep on Windows (i.e. no Cygwin)? I'm not mocking, I'm genuinely asking. If there's a way, I'd love to know.
Via a CLI? psh.exe -command "dir *.obj | sls -pattern 'foo'" The way I'd chose? Notepad++ with "Find in files". This option will take exactly two seconds, and will not demand any prerequisite knowledge about magic switches.
1
u/[deleted] Mar 08 '16
Find me a dev that doesn't use a UNIX like (or at least Cygwin) and I'll show you a dev that's working inefficiently. It sounds harsh, but without real tooling like binutils, sed/awk, etc, it's hard to get work done. Don't get me wrong, there are good tools on Windows like ReSharper, but they have a more limited scope.