Quote:
Originally Posted by
cyberfish
That is what I thought when I first tried Linux. Not anymore.
It is easy for a Windows person to underestimate the command line, as Windows doesn't come with even a half decent one.
I never use any command line tool aside from those for which there are not GUI equalient (often chkdsk, ipconfig). Last I tried Linux I just got annoyed and irritated, and I think I have expressed that frustration several times on the forums already.
Quote:
You need to configure a GUI compiler, too. No compiler is that smart, yet. However, gcc defaults are quite okay. I just tried compiling my ~4000 lines chess engine using a simple "g++ main.cpp", and it worked. All the flags (arguments) I use are for optimization purposes.
Quote:
Yes, and that is an example of a poorly designed program. Or perhaps Microsoft only intended it to be called by the GUI, not a human. Unlike GCC.
Well, what can I say? Perhaps Microsoft thought no one would bother calling it from the command line and did the right thing by making it callable from GUI only :D
Quote:
I can, in 5 seconds time, type a command to delete all files in the current working directory, that begins with an "a" and ends in "z". Try that on a GUI.
That one is a piece of cake. I could write a very, very simple GUI to do that in a short time.
At the same time as you're promoting command line, you seem to have underestimated GUIs.
Quote:
A while ago I wrote a simple script that goes to the National Geographic website, parse the html (a simple thing on the command line), download the picture of the day, crop out the logo, scale it to the size of my desktop, and set it as my wallpaper, once a day. Try that on a GUI =). If you would rather use C++ for that... be my guest, but you will need to link to an image editing library, and a http library, and whatever API you need to set the wallpaper. I wouldn't be able to do it in < 500 lines at least.
The problem is the lack of good GUIs for some tools, especially for scripted actions such as this.
Can it be done? Certainly. Just as as easy as if it were CLI - I can already picture a prototype of such a GUI in mind, and how to go about doing it.
Quote:
Originally Posted by
cyberfish
Many of them have DLL versions, for linking with compiled programs.
Then they aren't CLI anymore - they are real interfaces, and everything is alright.