Live data from Hacker News

Programming is not math

sarahmei.com

91–100 of 115 posts

Re: Programming is not math

#92
post #66

Earlier quoted context omitted.

P.D: A feel of several of the comments here, so is not exactly directed at the parent. Look like some of the defense in the idea of programming is math is reduced at: With math you can be more efficient at solving X task. That, itself, is proof that programming is NOT math, instead is a tool (like always is) that could enhance it. But the fact that developers ignore the math-y aspects of it and sill ship code show th…

I'm not getting at "with math you can solve task X with efficiency". I'm getting at "even if you have a stunted view of math, you're still doing math by programming". I gave examples to the effect that if you don't understand math, and you believe "programming is not math", you'll be puzzled by your inability to perform tasks that when viewed as math, are known to be impossible, and you'll end up with false-to-fact v…

The central idea of the linked post is that programming have long ago spread to more circles apart of math, and if in the past solve math problemas was the #1 activity that is not longer the case, and then, programming is dominated by other activities apart of math.

But, some people insist to teach programming ignoring that and still thinking that programming is a tool for math.

Now, I think is more right to say math is a tool for programming.

Re: Programming is not math

#93

There is research in this area: "Contributing to success in an introductory computer science course: a study of twelve factors" : http://dl.acm.org/citation.cfm?id=364581 (note math background is positively correlated with success, language skills were not considered) "Language Factors in Mathematics Teaching and Learning" http://link.springer.com/chapter/10.1007/978-94-009-1465-0_2... "The effect of student attribut…

Ever seen people claiming there's no peer-reviewed evidence linking high BMI to adverse health outcomes?

I gave it a second read, and it's written like a Tumblr social-justice screed.

Hacker News is reading increasingly like Metafilter. Sad, this.

Re: Programming is not math

#94
post #59

I think the fundamental problem is this: programming is not computer science. Think physics vs mechanics, or biology vs medicine, or theory vs practice. Nobody will expect a physicist to fix their cars, or a biologist to cure their sickness. Nobody studies physics to work as a mechanics. On the other hand, computer science, being young as it is, is still confused with with its instruments (computer) and application s…

"Nobody will expect a physicist to fix their cars, or a biologist to cure their sickness. Nobody studies physics to work as a mechanics."

http://en.wikipedia.org/wiki/Hyatt_Regency_walkway_collapse

"It was once pointed out to me that math major undergrads generally perform better than most computer science undergrad in many PhD programs."

There is a significant difference between computer science and archaeology, as academic disciplines. And it's not what you might think it is. A computer science student with out a Ph.D., with only an undergraduate degree, is (I hope[1]) fully competent to be gainfully employed in the field doing actual programming. An archaeology student without a Ph.D. is a shovel-bum, a ditch-digger, perhaps with some experience using surveying equipment, but certainly not qualified to do property title-related stuff.

[1] At most decent schools, anyway. The school whenceforth I came, for example, taught graphics and networking and compilers and data bases, along with basic data structures and algorithms, and a certain amount of actual programming. Someone coming out with an undergraduate degree certainly wouldn't be an ideal candidate to lead an important project, and certainly wouldn't have 5-years experience as a full-stack web developer in Elm and Clojure. But they would have the knowledge base to learn those things without big gaping holes in their understanding. You know, what used to be jokingly referred to as an "entry level" position: basic competence without expertise.

Re: Programming is not math

#95
post #72

Again this? It's been run up and down on Twitter. Effectively: a maths education is a great IQ test. If I was hiring a press agent, I'd still ask math questions. E: "I think this is great. I was always interested in computers as a kid but was awful in math." When I was a kid I was intermittently good and bad at maths, and hit a low point in high school trigonometry. Different teachers, different styles. I still "grew…

> We don't tell people they can be bad at talking. Of curse, we do. People is terrible at talking in public, for example. And a lot of people have serious issues talking with others (like the opposite sex). In fact, problems in human communication are far more serious and widespread than problems in math. The problem in how teach and learn math is a subset of it: If we have problems with math, is the failure in how t…

If you were as defined by being bad at speaking as some people are by being bad at math, you would starve to death because you couldn't pay your bill at the grocery store.

Re: Programming is not math

#96
post #92

Earlier quoted context omitted.

I'm not getting at "with math you can solve task X with efficiency". I'm getting at "even if you have a stunted view of math, you're still doing math by programming". I gave examples to the effect that if you don't understand math, and you believe "programming is not math", you'll be puzzled by your inability to perform tasks that when viewed as math, are known to be impossible, and you'll end up with false-to-fact v…

The central idea of the linked post is that programming have long ago spread to more circles apart of math, and if in the past solve math problemas was the #1 activity that is not longer the case, and then, programming is dominated by other activities apart of math. But, some people insist to teach programming ignoring that and still thinking that programming is a tool for math. Now, I think is more right to say math…

It's really good that some form of craft programming has spread as "not math". But let's not kid ourselves that math isn't programming, and programming isn't math.

It's like finding your way from St Louis to Chicago (in the US) or Rheims to Paris, say. You don't need to know that you're navigating on the surface of a spherical body. You just need to know a little map reading, or listen to Google Navigation giving you apparently planar directions and execute them. Just because your journey looks and feels flat does not mean you live on a flat earth.

You can even keep up a flat earth view of the cosmos, but ultimately, you'll end up re-inventing Geocentrism and embellishing cycles with epicycles. And you'll be mystified by how a few wizards can fly non-straight-line routes from New York to London and get there faster than your flat earth "straight line".

I hereby acknowledge, swear or affirm that the previous is an analogy, and therefore can be carried to far for purposes of building a straw man counter argument.

Re: Programming is not math

#97

Earlier quoted context omitted.

So why is college so damn expensive? In the modern economy, you need access to a high-paying career path in order to have economic security ( http://intellectual-detox.com/2013/01/20/economic-classes/ ). College provides the social network, acculturation, and signaling that make it much more likely to gain access to such career paths. A good college is a college that has the best reputation and attracts the smartest…

> Currently, it exists because the formal education system teaches everyone that the formal education system is very important, that economic growth and our national competitiveness depend on more and more people going to college. People believe this myth, and then vote for politicians who sustain the institutions. It also exists because the gatekeepers for many professions require it. In many cases, they require mul…

Getting a PE also requires several years of experience working under the guidance of an existing PE. Maintaining a PE further requires continuing education.

Is anyone talking about post-graduate education requirements for the FE?

Re: Programming is not math

#98
post #4

> Programming is Language. And half of mathematics is more or less the study of formal languages and their consequences? You can say that they're different in order to keep people who are scared of math from projecting those feelings to programming. Or you can say they're the same to draw deep insight between programming and one of the oldest fields of study of human kind. I find that people tend to reject the relati…

That was my thought too, math is obviously tied very closely to language. And programming did come from CS which came from math. Web/App dev is just so far downstream from all of the math, that people in those roles can get away with ignoring it.

In fact, if you accept the premise of math as a language, most of the piece can be boiled down to: "language skills help programming skills, whether that language is mathematics or not".

Another nitpick:

> A common variation on this: without a CS degree, you can’t build anything substantial. Which, ha ha! Don’t tell the venture capitalists! They’re down there on Sand Hill Road giving actual money to hundreds of people building software projects without any formal qualifications whatsoever. In fact, they do it so often that the college-dropout-turned-genius-programmer is our primary Silicon Valley archetype of success. And monetarily, their strategy seems be to working out for them, if the fleets of Teslas on 280 are any indication.

1. Tesla is not a "software project" and I can't imagine that building a car is light on math.

2. Elon Musk has a degree in physics and dropped out of a Stanford EE PhD. He's not a "college dropout" or a "genius programmer." The CTO, Straubel, also has (non CS) engineering degrees from Stanford.

3. To my knowledge Tesla was initially 100% funded out of Musk's PayPal money, not venture capital.

"Math is irrelevant, look at Tesla!" is simply a ridiculous thing to say.

Re: Programming is not math

#99
I am starting to get sick of these things.

> Doing Riemann sums in Fortran is about as math-oriented an introduction to programming as you can get.

No. Math is not calculus. Math is more than calculus, more than arithmetic. If anyone asserted that "Programming is arithmetic" (or "...is not..."), they'd get their buttocks laughed off of them. But that is exactly what Sarah Mei is arguing against here.

> You might be able to say that math skills are required for computer science success, but you can’t necessarily say that they’re required for developer success.

I suppose you can't. But if you want to stay in this field for more than a few years, you might indeed want to know some of that background, mathy, computer-sciency stuff. Or does somebody need to go through that Java Generics and subtyping discussion again?

> As an example, consider whiteboard interview staple big-O notation.

Yes, let's. I had a conversation with a friend and cow-orker a while back like this:

"Why is this so slow: string1 + string2 + ... + stringn?"

"Because that's an n^2 operation. You copy string1, then you copy string1 and string2, then you copy string1 and string2 and.... Try sticking all of the strings in a list or array or something and then joining them all together at once."

"But this other JS interpreter isn't slow...."

"Because it's doing that array optimization for you, behind your back. I suppose you could limit our appy to that one browser if you are really attached to +'s...."

> But the same logical concepts are embedded in our human languages.

I would like to just note that

1. The best definition of mathematics that I know is something like "the study of abstraction as a fundamental." You can learn abstraction anywhere; it's indeed everywhere. But math is all about it.

2. If I go up to a native Japanese speaker and tell them, "Arigato!" they'll (I hope) pat me on the head and say "You're welcome". They'll probably think I'm an idiot, but they'll know what I'm trying to get across. If I try a similar feat while programming, the magic smoke will leave me blinded and with serious lung damage on its way out of the computer and into the ventilation system.

Re: Programming is not math

#100
post #27

This does not compute. It's obvious. Programming is the human means to get a digital circuit to turn "one" and "zero" in a particular way. Applied programming is to a CS degree as diagnosing and curing disease by a physician is to microbiology. Applied programming is to math what diagnosing and curing disease by a physician is to chemistry/physics. For fun, go ask your dev friends to compare and contrast NP-complete…

I have a lot of psychiatrist friends. I had psychiatric treatment at some point, befriended my former doctor in the process and then his group of friends.

It's amazing how much they have chemistry as a conceptual primitive -- just as much as I have linear algebra as a primitive. They drop "oxygenase" (or something) in casual conversation like I drop "eigenvector".

And 90% of what they do is talk to depressed people and sometimes hand some Prozac or some Xanax!

Post reply on HN