3 ms·
As someone so experienced with DOS, may I ask you something: Which script interpreters do you run from it? Is it sane for doing python development for example?
by DeepDuh 14y ago
As someone so experienced with DOS, may I ask you something: Which script interpreters do you run from it? Is it sane for doing python development for example? And how do you glue that stuff together, using batch files? Isn't that ugly as hell?
One thing that I've come so accustomed to in unix environments is the ease of creating CLI tools in a nice language like python and then glue it all together with bash scripts. I can't really imagine being so productive in DOS, but maybe I just don't know it enough, hence the question.
- yen223 14y agoFor anything more serious than the occasional ipconfig, you should go ahead and download Powershell. (Disclaimer: not the OP)
- alayne 14y agoIf you enjoy Unix shells, you will probably hate PowerShell. I use a bunch of GNU utilities compiled for Windows that are probably about ten years old. Cygwin is too much effort for an unnatural feeling environment and PowerShell was designed by people who may have been exposed to harmful influences such as the VAX DCL.
- derleth 14y ago> DCL Sadly, DCL had (some) use beyond VMS: http://en.wikipedia.org/wiki/DIGITAL_Command_Language http://en.wikipedia.org/wiki/DIGITAL_Command_Language
- mixmastamyk 14y agoIt isn't DOS, DOS was an operating system. You're probably thinking of the Windows Command prompt, with a shell that is a descendant of command.com. To your question, it is just as easy to write console Python tools in Windows as it is under Unix. I've written quite a few work on both. Glue scripts (Batch files) are just fine too, as long as you don't try to do too much with them. When something gets too complex, move that part to Python, or really any language you like. To be honest I like that, I'd prefer people not write complex things in shell scripts that could be done more elegantly in a programming language.