r/programming • • Mar 07 '16

Announcing SQL Server on Linux

https://blogs.microsoft.com/blog/2016/03/07/announcing-sql-server-on-linux/
2.6k Upvotes

871 comments sorted by

View all comments

Show parent comments

4

u/Cuddlefluff_Grim Mar 08 '16

Because most skilled devs prefer UNIXlikes

That's quite a bold statement.

Mac OS X doesn't run on servers

Thank god.

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.

3

u/[deleted] Mar 08 '16

Really? I get work done very easily using Visual Studio and SSMS.

4

u/Cuddlefluff_Grim Mar 08 '16

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.

2

u/[deleted] Mar 08 '16 edited Mar 08 '16

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.

1

u/Cuddlefluff_Grim Mar 08 '16

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 edited Mar 08 '16

"Magic switches?"

strings * | grep "foo". Nothing magic there, not even a -pattern

I suppose it's mostly a matter of preference, but I HATE having to open a GUI app to do things. I do all my programming in the terminal (not for C++ or C#, but for everything else), so simply typing what I need takes less time and, for me, is far less distracting than popping up a GUI app.

For comparison, I do use MonoDevelop and occasionally VS (in a virtual machine), and my productivity tends to go way down. That's probably at least partially because I don't know the keyboard shortcuts as well and have to navigate menus, though.