6 ms·
It's terrible to script, you cannot make use of the billion unix command line utilities (and there is no equivalent eco system either), you need to use the mous
by phyrex 10y ago
It's terrible to script, you cannot make use of the billion unix command line utilities (and there is no equivalent eco system either), you need to use the mouse too much, and it's awful to program with in any but a small number of sanctioned programming languages.
- yokohummer7 10y ago> It's terrible to script I'm pretty sure you didn't try PowerShell. It is at least as good as bash, if not better. > you need to use the mouse too much I find this more problematic on macOS. I was forced to use a mouse much more on macOS. It doesn't even allow me to press the yes/no dialog only using a keyboard. On Windows nearly every item has a shortcut, sometimes even better than GNOME (but worse than KDE, IMO).
- tachion 10y agoIt does, you simply need to change a default configuration for keyboard shortcuts to be able to jump over UI elements with keyboard only.
- yokohummer7 10y ago:( Why is it not the default? Is there a technical reason? I cannot think of any possible downside that the shortcuts would bring.
- haxxorfreak 10y agoControl + F7 (Fn + Ctrl + F7 if you're on a MBP or using the wireless keyboard) Toggles on highlighting for all UI elements so you can Tab / Shift-Tab through them. It's usually the first thing I do when I touch a new Mac.
- intoverflow2 10y ago> It doesn't even allow me to press the yes/no dialog only using a keyboard cmd+first letter of the dialog option. I actually find OS X far superior with shortcuts than Windows: More discoverable, actually configurable and more consistent. One of the only things I miss now I've switched to Win.
- eppsilon 10y agoFor me one of the joys of using macOS is when you realize adding option or shift to a shortcut does a similar but more specialized thing that is more useful. In Windows the shortcuts have always seemed less logical to me, though the newer Windows key ones are an improvement.
- Operyl 10y agoI've yet to figure out what PowerShell can/can't do though really. Maybe I'm weird, but I like that it's bash on OS X, I already know it.
- yokohummer7 10y agoYou're not weird. PowerShell does have barriers to entry and that's why I also had used Cygwin on Windows until recently. And it might not change because it is a very different monster than POSIX. It is unfortunate for sure, but still I think it's worth learning especially if you use Windows frequently. Even if you don't, learning it is a fun experience. It's like learning Haskell just to feel another way to program, even though you're not using it in practice.
- Operyl 10y agoEh, it's just so .. nuts looking to me that I'll probably stick to *nix land.
- Karunamon 10y agoPowershell might have some neat features, but the verbosity of the commands (don't bring up shortcuts here either - you need the full commands as that's what everyone else is using) just drives me batty. I find that they don't lend themselves well to mnemonics or easy memorization. Who needs ls when you have Get-ChildItem? Who needs grep -r 'pattern' when you have Select-String -Path c:\ -Pattern pattern? Now that I think about it, Powershell has a conceptual similarity to Applescript. A proprietary, verbose, and hard-to-discover English-like syntax belying a great amount of power over the target platform.
- Godel_unicode 10y agoMicrosoft might have gone a little far on the whole "code is meant to be read first" thing, but the verbosity does make it immediately obvious what every line in your history does.
- mort96 10y agoI find it hard to take powershell seriously, considering last time I tried using it for anything, I just wanted to quickly download something over http. Looked for something like 'wget <URL>' online, the only results I found was something like multiple verbose lines of instantiating an http client and calling methods on it. That's fine for a programming language, completely horrible for an everyday shell, from the perspective of someone who generally only uses Firefox and a terminal emulator in Linux. After some googling just now, it seems like there's now an Invoke-WebRequest command, but that too looks like a hell of a lot of typing compared to Linux shells. There's also the fact that lots of stuff in windows wasn't designed to be accessible through the cli. You can't, for example, make a powershell script to toggle an audio output device on and off, as that's only available through the GUI.
- yokohummer7 10y ago> the only results I found was something like multiple verbose lines of instantiating an http client and calling methods on it. I blame the documentation. Not the official documentation (they're not excellent, but OK), but various outdated resources residing in many blogs and sites, including Stack Overflow. I mean, what's wrong with iwr REMOTE_URL -o LOCAL_FILENAME ? The situation this command wasn't searchable by you is unfortunate, possibly because PowerShell has come a long way since its introduction in 2006 and it is hard to remove the outdated resources online. But for those who know what features/commands are available in PowerShell, finding them isn't particularly difficult. > There's also the fact that lots of stuff in windows wasn't designed to be accessible through the cli. You can't, for example, make a powershell script to toggle an audio output device on and off This is just one example. On the other hand, I found nearly every thing I had done using GUI could be replaced by a few lines of PowerShell code. Actually automating my day-to-day GUI operations was my way to learn PowerShell, and mostly it worked great. Microsoft is adding tons of commands each release to expose more system functionalities. There are exceptions of course, but "lots of stuff" is a bit exaggerated.
- unoti 10y agoWhat language are you wanting to program in that is awful on Windows? And regarding your other points, Windows scripting story has come a long way in the last few years. Your concerns sound like they come from many years ago and that maybe you haven't taken a look lately.
- fps 10y agoI've tried to do work on windows 10 Pro on a brand new 8 core Ryzen machine with 16 GB of RAM, SSD storage, and an RX480, and working in windows at the command line is 100x (no exaggeration) slower than Linux.
- bobochan 10y agoWhat baffles me is that it is 2017 and Windows comes with less than it did decades ago. At least prior to Win2000 there was QBasic and edit.com, but now starting to work on a Windows machine means downloading and installing basic tools. Need to SSH/SFTP? Download. Need to edit code? Download. Python? Download. Perl? Download. A reasonable terminal? Download. Yes, I might have to go to the Mac App Store and get command line tools for C, C++, Objective-C, etc. It is unfortunate that XQuartz is no longer installed by default, granted. (PowerShell is very nice to work with though, I give MS full credit for that.) I could live with having to download python, perl, etc., but someone please explain why having an absolutely fundamental ability to edit text and securely connect to work and transfer data to/from remote machines is something that any OS should be shipping without?
- yokohummer7 10y agoWindows does have a C# compiler by default. It is located in the `Windows\Microsoft.NET` folder. Not very discoverable, though. And starting with Windows 10 a metro app called 'Code Writer' seems to be installed by default for coding. (At least it's there in my installation.) I didn't try it though.
- bobochan 10y agoI'm glad. MS has made a lot of good programming tools. I really like Visual Studio and was a huge fan of QuickBasic 4.5 back in the day. Turbo Pascal was the killer app that first enticed me to the PC world. It still befuddles me why some of this basic functionality cannot be a standard part of Windows. Not every Mac user uses emacs, or even knows how to open the Terminal app, but the fact that basic tools are supported means that there is just a baseline level of infrastructure to work with.