766 karma · joined December 13, 2013
I've never found it to be so, and it's not a common complaint.
You still send and receive letters? Somebody sits down, puts pen to paper and writes a letter? Folds it, puts it in an envelope, adds postage, and mails it?
Outside of hokey "Christmas letters" (typed once, printed, and mailed to many), I haven't seen a real letter in many years.
I'd say I envy you, but then someone else would reply and tell me that if I like letters so much I should send one. And I suppose I should, but I know I won't. I'll send an e-mail.
In any case, if I got letters I wouldn't throw them in the trash.
With some experimenting, I discovered that even Perl was much faster than C++ with getline(). (Note that this was input of a file, not stdin as in this article.)
I've not used getline() since.
Now I understand it's a different problem, but sometimes I think you sw guys live in the dark ages.
Perhaps they're still on RHEL5. Many of us are.
I know things are different with industrial machine control, they might be different at my doctor's office, and so forth. But I don't think those special situations add up to "most". Not yet.
But the everything-is-a-string [1] semantics is awkward to deal with. As with shell scripting, a lot of what you do amounts to solving problems with quoting. I find Tcl hard to debug, and I don't like the scoping (upvar!).
I'd much rather use Emacs Lisp. In fact, Cadence uses a language of their own, called Skill, for some of their tools. It's so close to Emacs Lisp it may as well be identical, and it's far easier to deal with than Tcl.
[1] That's no longer true under the hood. But Tcl behaves as if it's true.
> it eventually will catch up and surpass two-language systems for scientific computing.
Assuming that, like hardware engineers, scientists have a fair bit of general-purpose scripting to do, Julia will itself be part of a different kind of two-language solution unless it is up-to-snuff w.r.t. said general-purpose scripting. This implies libraries and good interaction with OS utilities. Any thoughts on whether or not this will be an issue with Julia?
#include <unistd.h>
#include <fcntl.h>
#include <stdio.h>
int main()
{
int fd = creat("foo/bar", 1);
if (fd == -1) {
printf("error\n");
} else {
close(fd);
}
return 0;
}A better analogy for Americans would be Springfield. You can almost just pick one: IL, MA, MO (OH is a bit too small).
Interesting, given that LG just announced WebOs on their TVs: http://www.businessweek.com/news/2014-01-06/lg-unveils-inter...
Nor did I. Which platform?
But once the operations start getting more involved, I really start disliking Excel (or any spreadsheet). Excel shows the data but hides the formulas. At this point, I very much prefer a script.
But I've just recently installed all this, and have only kicked it around a little. Mostly, I wanted plotting.
I don't think bottom-up verses top-down are like political camps. I think it's more innate, like right-brained vs. left-brained.
I can't understand abstractions till I first understand the lower level. I could never learn algebra without first learning arithmetic. (BTW, I'm old enough to have lived through the New Math philosophy which insisted that every grade school text book start with a chapter on set theory before moving on to, say, fractions.) This doesn't mean that I can't start with a functional model, but it does mean that I start with simple functions and move up.
Bootstrapping is hard. My introduction was in Fortran, and I had written a couple of sort implementations before I ever learned to enter an array by any means other than hard-coding it into the program. Kernighan and Ritchie did an excellent job with bootstrapping programming concepts in their book on C.
And, somewhat off-topic, but since you mentioned Hello World and I mentioned K&R, it's worth noting that K&R's meaning when they said that Hello World was the first program you should write in any language was that you need to be able to run something. You have to be able to enter the program, compile it, link it, run it. Today a book can offer an example for Linux, one for Windows, and one for Mac and cover nearly everyone. Not so simple in 1978, when K&R first came out, so they basically tell you to get Hello World running with the help of a local expert (perhaps a teacher), and then come back to the book and start learning.
I up-voted your comment as a whole, but I really disagree with this statement. It's reality in many situations, but I think it's a shame that anyone has to work together with a team of 100 on anything, ever. You deal with it, and you solve the problems associated with it, but those are problems of management and process.