76 karma · joined Sep 3, 2009 (17y ago) · 14 submissions
comment 10y ago · link · parent
comment 11y ago · link · parent
comment 14y ago · link · parent
Ed reads the entire file. If you need to move back and forth through the file, or move lines from one place to another, or reprocess the same line repeatedly, it can be far more convenient than a scripting language.
comment 15y ago · link · parent
comment 15y ago · link · parent
comment 15y ago · link · parent
As a broad statement, certainly not always true, computer programmers seem to be less knowledgeable of their professional culture than other professions. There is no equivalent to <em>Architectural Digest</em> or <em>Journal of Accountancy</em> or <em>Morbidity and Mortality</em> for programmers, so programmers have to work harder to keep up with their profession. If you can demonstrate that at an interview, you have a leg up on the candidate who can't.
Do you have to know the linear solution to the maximum sum subsequence problem to get hired? Of course not. But if you know it, and the other guy doesn't, then all other things being equal, you get hired, not him.
I should also have mentioned that there must be some context to the programming questions being asked at an interview. There are probably better questions to ask a PHP web developer.
Oofabz: Bentley recounts the history of the problem. Several experienced computer scientists believed for several weeks that the O(n log n) solution was optimal. If you think the linear solution is immediately obvious, you're special.
DannoHung: It may be that I have not fully specified the problem, but an empty sequence has a sum of zero, which is the maximal sum if all elements of the sequence are negative.
Abyssknight: I've never shipped anything. I've always worked in an internal support position, never on a shipping product. But I regularly develop and install new programs for my internal customers, in addition to supporting vendor code; I guess you could say I've shipped those programs.
Goombastic: I'm not a stupid HR guy. I'm a programmer who has stopped asking this kind of programming questions because I don't think they tell me much about the candidate. But it seems other folks do ask this kind of programming questions, so I put them on my blog from time to time.
Everyone: Thanks for the discussion.
comment 16y ago · link · parent
10.
Fortieth anniversary of the factorization of F7(programmingpraxis.com ↗)
1 points · by pbewig · 16y ago · discuss
comment 16y ago · link · parent
comment 16y ago · link · parent
13.
Novell Wins Again - Jury Rules Copyrights Didn't Go to SCO(groklaw.net ↗)
69 points · by pbewig · 16y ago · 5 comments