Re:If you must run Windows 10
by willis936 on Tuesday August 27, 2019 @02:08PM
(#20812708)
A serious and legitimate gripe with windows is how messy it is to automate things. It's hard to look at the command prompt the same way I look at bash. I resort to almost anything other than batch when I can.
[ Parent
| on HN ]
You can automate things with Bash now, too, if you like ;)
If you are using batch scripts on Windows in 2019 you are most definitely Doing It Wrong. PowerShell (which for my money is better than bash) is the "official" scripting environment on contemporary Windows and batch file support is only included for backward compatibility with legacy scripts. Don't use it, ever.
As Joel Spolsky put:
> What are the cultural differences between Unix and Windows programmers? There are many details and subtleties, but for the most part it comes down to one thing: Unix culture values code which is useful to other programmers, while Windows culture values code which is useful to non-programmers.
See https://www.joelonsoftware.com/2003/12/14/biculturalism.
Re:If you must run Windows 10
by JustSomeNobody on Tuesday August 27, 2019 @02:23PM
(#20812873)
> Unix culture values code which is useful to other programmers, while Windows culture values code which is useful to non-programmers.
I don't even know what that's supposed to mean.
Is this a rhetorical question or a real one?
Have you not tried PowerShell? You can automate pretty much anything you want in Windows with it. I made a career out of it.
Also try JScript. It's underrated.
Re:If you must run Windows 10
by JeremyBanks on Tuesday August 27, 2019 @02:10PM
(#20812723)
It's hard to look at Bash the same way as I look at PowerShell. I resort to almost anything other than Bash when I can.