Live data from Hacker News

Ask HN: Where's the fun in programming?

news.ycombinator.com

31–40 of 73 posts

Re: Ask HN: Where's the fun in programming?

#31
post #20

Doing my own thing in languages I like using was what made me enjoy it. What you're doing now sucks. HTML and CSS are boring to write and, IMO, are better suited to being generated by a program than being explicitly written by hand. Vanilla Javascript isn't so terrible, but what you typically do with it is boring. PHP is terrible in so many ways I don't feel like naming them, and the type of thing you do with PHP is…

Python/Lisp/Ruby/Perl/Whatevermakesyouhappy.

Note all the hubbub about functional languages:

1. Common Lisp, scheme (ML/haskell people argue they're not fully FP).

2. Haskell and erlang have been evolving since the 80's into really powerful constructs.

3. Scala, clojure, F#, JRuby, groovy for JVM and .NET CLR.

4. OCaml, SML, some other ML's.

5. And also some you don't hear about so much: clean, dylan

Re: Ask HN: Where's the fun in programming?

#32
It is kinda like music. Practice can be boring to most. But learning a new piece, and performing it, or composing can be fun. So is music boring? You are asking people to explain why they love music. No matter how much anyone love music, scales can be boring or playing the same piece the 1000th time can be boring. Coding is just an activity, like playing music, your purpose in coding it ultimately determines the fun.

Re: Ask HN: Where's the fun in programming?

#33
post #18

> So I learned HTML, CSS IMO if you don't do HTML/CSS, you aren't a web designer. > For example, I live the concept of ranking a page higher based on how other sites link to it (ie Google's Pagerank), and would enjoy conceptualizing further improvements, You don't know the details to understand it isn't as easy as you think. If you think you can conceptually do further improvements, I would really like you to try tha…

Google's a great search engine, and its all due to their brilliant algorithms and codes and everything. I get that. The programmers at Google are tackling a lot of problems and coming up with birlliant solutions. I get that. I just cant imagine someone has fun writing those thousands of lines of code. Even more so when the code isnt for a cool new feature but for a mundane fix. I image a lot of programmers at Twitter…

> spend hours writing code just so their site/product can handle all the traffic. How it that fun?

It's a personal offense to have something that could work at, for instance, 20MB/s, only performing at half the speed. Sometimes management has to step in and and put a stop to that if it's not worth the effort.

Could be worse - seems athletes put many hours in shaving down a couple hundredths of second in races, etc. Or designers in getting that last pixel perfect ...

Re: Ask HN: Where's the fun in programming?

#34
post #18

> So I learned HTML, CSS IMO if you don't do HTML/CSS, you aren't a web designer. > For example, I live the concept of ranking a page higher based on how other sites link to it (ie Google's Pagerank), and would enjoy conceptualizing further improvements, You don't know the details to understand it isn't as easy as you think. If you think you can conceptually do further improvements, I would really like you to try tha…

Google's a great search engine, and its all due to their brilliant algorithms and codes and everything. I get that. The programmers at Google are tackling a lot of problems and coming up with birlliant solutions. I get that. I just cant imagine someone has fun writing those thousands of lines of code. Even more so when the code isnt for a cool new feature but for a mundane fix. I image a lot of programmers at Twitter…

> I just cant imagine someone has fun writing those thousands of lines of code.

What's your idea of fun? Surely in this context fun doesn't mean a beach side party with tanned, topless girls. Writing those thousand lines of code which runs Google is fun in the way that it's:

1) Difficult. Mundane and simple jobs irritate the sharp minds. Challenging yourself is very important in the long run. You think the linux kernel developers can't find higher paying jobs at the so called enterprises where they can be PHBs? Why do you think they don't?

2)Sense of accomplishment. It takes a lot to be at the top and even then it's transient. It takes a lot of work to continue to be there.

> Even more so when the code isnt for a cool new feature but for a mundane fix.

That's contradictory reasoning. Mundane fixes won't be thousand of lines. You are heavily mistaken in what constitutes cool features. If I am the one implementing something, more than about you, it's about how I feel about it. I can bet you didn't notice that Google went cooler with their Caffeine search index. It promises 50% fresher content which is a large feat to accomplish, regardless of whether the consumer notices the coolness.

> I image a lot of programmers at Twitter spend hours writing code just so their site/product can handle all the traffic. How it that fun?

It's fun in all the ways any creative, innovative task can be. It doesn't have an "one size fits all" solution. It requires out of the box thinking, challenging the existing conventions, innovating existing solutions, working on NP complete problems...

At this point of discussion, I am really interested in knowing when you said "programming isn't fun", what notion of yours of fun did programming offend?

Re: Ask HN: Where's the fun in programming?

#35
>the code might make the entire thing operate, but it never affects the user the way the design or interface does

sigh. interface=code.

the fun is taking an idea from your head and putting it into reality. This is kind of like asking where the fun in painting is cause it takes so many strokes to fill a canvas.

Re: Ask HN: Where's the fun in programming?

#36
The fun is in the parts when you get to be creative.

There's plenty of boilerplate, repetitive, coding work out there. Sometimes, though, you get to wrap yourself around a juicy requirement and solve it, or add extra functionality that no-one asked for but someone will notice one day.

Same with writing - doing the same old client proposal for the 50th time is no fun, but writing a fun new blog post about an awesome discovery can be great. Same with lots of work, I guess.

There are two times when I really love coding - when a user expresses pleasure at using the software, and when a fellow coder expresses pleasure at fixing my stuff. If you build it right, it works on so many levels.

I wish I got to code more, and I dismay constantly at the idea that coding is something to be passed out to the lowest bidder.

So much time spent in meetings, an hour with 10 people discussing how a feature should work, when I know I could have just coded it up in that hour and they would have just said "Yeah, like that".

Coding is engineering, but in an accelerated form. Improve the performance of an engine by 10%, something the user could notice instantly? Hard work, big dollars, lots of resources, hard to deploy to many users. Improve the performance of an application by 10%? You might do it by yourself in 30 minutes. Lots of fun.

Re: Ask HN: Where's the fun in programming?

#37
I think that the whole idea of asking someone else to explain "where the fun is in coding" is somewhat of an oxymoron. If you cannot find the fun yourself, it is hard to believe that you will be able to find it by someone else telling you about it.

Re: Ask HN: Where's the fun in programming?

#39
"For example, I like the concept of ranking a page higher based on how other sites link to it (ie Google's Pagerank), and would enjoy conceptualizing further improvements, but I would find it extremely boring to translate that solution into code."

As far as I've gathered, there are two steps to learning a foreign language. One step is when you think in your own language and translate everything over. The next step is when you think in the language. Enjoyable coding comes only when you think in terms of the programming language. But that only happens once you run into problem domains where you have substantial thoughts, and once you use languages that allow for those kinds of thoughts. Or, once you're used to one type of language and one way of thinking about things, learning to speak another is enjoyable as well. (Imperative vs. functional programming, etc.)

Post reply on HN