News for hackers. Stuff that matters.
Re:Common False Beliefs in Mathematics by jrockway on Saturday June 05, 2010 @09:47PM (#1407820)
Math people seem a lot more interested in math than programmers are in programming. If you asked the same question on SO, the popular answers would be a list of things like "programmers don't deserve big monitors" or "the client is always right" or other such bullshit. (Nothing actually about programming, only about "the profession").

Maybe this is why nobody ever calls mathematicians "number monkeys".

Re:Common False Beliefs in Mathematics by ringm on Saturday June 05, 2010 @10:44PM (#1407900)
I would not agree with you, and I think you can't compare programming and math in this regard. The "beliefs" they are talking about are rather trivial: strictly formal abstract logical statements which look very hard from intuitive point of view, but they are relatively easy to construct and relatively easy to disprove (provide a counterexample for). An attempt to base your work on one would instantly lead to an error in a proof, which will be found upon review.

On the other hand, programming is actually a branch of engineering, a much less formal discipline. TIMTOWTDI, and not just in Perl. Everything in programming is subjective. Results of programmer's work aren't simply "correct" or "erroneous". Basing your work on a "false belief" will just require spending more effort on it, or lead to a lower quality product.

You can imagine an objective false belief, but it would be some kind of triviality, like wrong understanding of initialization order for base classes in C++, or behavior of modulus operator for negative numbers. Nobody is discussing this kind of stuff with any grandeur.

edit: tl;dr: in math it may be hard to understand whether you're objectively wrong. In programming it is usually as trivial as a compile-time or runtime error, so programmers will usually discuss subjective issues.

Re:Common False Beliefs in Mathematics by jrockway on Sunday June 06, 2010 @01:08AM (#1408048)
In programming it is usually as trivial as a compile-time or runtime error, so programmers will usually discuss subjective issues.

But if you look at the SO threads, the subjective issues aren't related to programming, they are mostly related to sitting at a desk or working for other people. That has as much to do with programming as telescopes have to do with physics.

Re:Common False Beliefs in Mathematics by calibraxis on Sunday June 06, 2010 @05:22AM (#1408285)
Technical hacking communities (like the Chaos Computer Club) seem to be full of people who enjoy aspects of computing in a pure sense. For example, they may hack long-obsolete game consoles, on both hardware and software levels; or sit around on a busy street cracking wireless connections. When asked how useful it is, they shrug like an ideal pure mathematician: it's not about being useful. They delete the creditcard numbers they find, like fishermen throwing back the fish they catch.

(Though many of them hate their day jobs, and even the economic system itself, even if they're well-paid. These certainly aren't going to gush about what they experience during the day.)

I don't know how other people use Stack Overflow, but so far I've only visited when I want a quick answer for technotrivia which isn't particularly mind-expanding. (Like, how to get Gnu Screen to stop doing this, or what Unix incantation does that.) If others do the same, then I can see why there would be less technical fascination and curiosity on display there.

Re:Common False Beliefs in Mathematics by pavlov on Sunday June 06, 2010 @09:56AM (#1408480)
My humble opinion is that software is not science, but a creative solutions profession more akin to architecture or writing. It's a mystery to me why so many programmers seem to be ashamed of that.

I don't see architects spending their time being envious of mathematicians. "If only we could construct buildings out of closed functions on a plane of pure ideology, where no humans would interfere..."

Re:Common False Beliefs in Mathematics by fforw on Monday June 07, 2010 @09:44PM (#1412733)
brilliant comment. my new favorite quote -- right after "existence is stateful".
Re:Common False Beliefs in Mathematics by tumult on Saturday June 05, 2010 @10:39PM (#1407891)
when you remove all of the bullshit from programming, you just end up with math again.
Re:Common False Beliefs in Mathematics by vog on Sunday June 06, 2010 @06:18AM (#1408313)
Although computer science was formerly a part of mathematics, it has become a profession of its own right. Of course there are still strong connections on many levels. But there is a lot in mathematics which is (currently) completely uninteresting for computer science, and vice versa.

In particular, there is part of computer science which has nothing to do with mathematics, and which a mathematician would always attribute to computer science rather than mathematics.

And that part is call "programming".

So I disagree. Sole programing without bullshit and without mathematics is still a profession of its own right.

Re:Common False Beliefs in Mathematics by singular on Sunday June 06, 2010 @10:10AM (#1408493)
I'm really not sure I agree; programming is necessarily an engineering discipline and by nature requires a far looser, fuzzier approach than maths; though there is of course a mathematical foundation to modern computers (the Turing Machine is named after a mathematician, after all), in general the highly formal essentially mathematical approach is something a programmer rarely has use for, though formal proofs of correctness are certainly useful in some areas of programming (and perhaps in the future will apply to far more.)

Ultimately we program for people rather than machines, I hardly think you can describe readability, maintainability and elegance as bullshit. You can just as well program a correct algorithm with one-letter variable names and horrible nested gotos, but I'm sure the guy who has to maintain that will hardly describe the difficulties with understanding and maintaining the code as bullshit.

Re:Common False Beliefs in Mathematics by gord on Sunday June 06, 2010 @12:44AM (#1408017)
yes, but that would not be enough to do something useful [yet, and less so with lisp]

Theres lots of housekeeping [~bs] in programming, maybe some in math too.

Re:Common False Beliefs in Mathematics by derefr on Saturday June 05, 2010 @10:53PM (#1407910)
Most of "the profession" of programming, time- and effort-wise, consists of tasks orthogonal to programming itself. And, as any programmer knows, when optimizing, you should first go after the low-hanging fruit. Actual mistakes made due to misconceptions while programming are much further down the list than "the client is always right", because they have far fewer consequences and can be repaired much more quickly.
Re:Common False Beliefs in Mathematics by mjs on Sunday June 06, 2010 @05:14AM (#1408279)
True, but I don't think Math Overflow and SO are really equivalent: most of the Math Overflow participants are academics; if you asked the same question on a SO for academic computer scientists I think you'd get similar results, especially if you restricted the answers to universal truths, rather than things which may or may not be true at some point in time, or under some conditions. (i.e. Apache is a better web server than nginx is not a universal truth, and neither is OO is better than procedural, etc.)
Re:Common False Beliefs in Mathematics by singular on Sunday June 06, 2010 @10:02AM (#1408487)
But doesn't that highlight a fundamental difference between mathematics and programming, in that the majority of programmers out there are working on problems using programming as a tool, whereas the majority of mathematicians work on maths itself?

I don't mean to disparage either craft, mathematics is a wonderful thing, and of course the applications are enormous and vital to science and engineering, however the majority of work is not applied.

Additionally there is some truth in this, in that the majority of working programmers are 9-5ers who have no passion for programming, whereas maths work is difficult to get into and not necessarily as well paid as other professions so those who work in it are necessarily more passionate.

Re:Common False Beliefs in Mathematics by dennisgorelik on Saturday June 05, 2010 @10:13PM (#1407855)
May be it's because programmers are slightly more in touch with reality? :-)
Re:Common False Beliefs in Mathematics by endtime on Sunday June 06, 2010 @12:19AM (#1407989)
Well, there's not really any mathematical field comparable to software engineering. A better comparison to math would be theoretical CS, in which case I think you'd get things like "the conflation of NP-hardness with NP-completeness".
Re:Common False Beliefs in Mathematics by nopassrecover on Sunday June 06, 2010 @02:50AM (#1408155)
Commonly held but incorrect beliefs about programming don't exist because we're not all taught it at school from ages 5 to 18.
Re:Common False Beliefs in Mathematics by ent on Sunday June 06, 2010 @02:16PM (#1408847)
I see you didn't read any of the stuff on mathoverflow. I'm a first year maths student and already the second example was a belief I held :P
Re:Common False Beliefs in Mathematics by nopassrecover on Tuesday June 08, 2010 @11:38AM (#1414223)
I think you misread my post or I misread yours. I'm saying we have lots of incorrect maths in our brains because we were actually taught maths. It's hard for programming to have commonly misheld assumptions because it's not commonly taught.