Live data from Hacker News

Hello, World

hello-world.io

51–60 of 174 posts

Re: Hello, World

#51
post #30
post #21

You take an incredibly advanced and complex programming language, and dumb it down to the absolute bare essentials in order to embark on the journey of learning a new system. The purpose of the "Hello, World!" program, at least as I've understood it, is to make sure that you can actually get code running with whatever language, frameworks, and build process you have. Printing out a simple phrase is sufficient to demo…

If we're talking about the modern purpose of a "Hello, world!" program, then I agree. However, at the time the idea was originated, and I'm sure for a good time afterwards, build processes and frameworks weren't as mainstream as they are today. Therefore the function of a "Hello, world!" program was simply to test out the basic features of the language. That's the way I see it.

The idea of the “hello world” program was promulgated by Kernighan and Ritchie in “The C Programming Language”, and they saw it the way kylec does. Quoting “The C Programming Language, Second Edition”:

“This is the big hurdle; to leap over it you have to be able to create the program text somewhere, compile it successfully, load it, run it, and find out where your output went. With these mechanical details mastered, everything else is comparatively easy.”

(I got rid of my first edition years ago but as I recall it described the purpose of the program pretty much the same way.)

Re: Hello, World

#52
How did you get back to the software industry so easily after a long industry break working as a bartender...

I would like to read the response to this question. I think there are many software engineers out there who would like to take a break from office and/or coding jobs to work simply – be it bartending, woodworking, volunteering – using their hands and interacting with a diverse community of humans.

As someone who has interviewed many candidates for coding positions, I always give attention to those who have ventured out of the field and ask for insight into those experiences.

Note: this is a bit of a cross-post since I commented on the article, too

Re: Hello, World

#53
I'm happy that OP found what he wants, but honestly... I'm actively repulsed by the idea of living a life like the one OP is starting.

I'm close to OP's age (I'm 30; he's 32), and the idea of working on a farm, doing manual labor, and raising a kid is like living hell to me.

To me, the ideal job is one that involved having 16 terminals open, and I'd rather work in an office than in any other environment.

To each their own, I guess. OP can do what he wants, and I'm enjoying being a childfree lesbian who slings code, happily works a white-collar job, and eats, sleeps, and breathes technology.

Re: Hello, World

#54
post #10

> I am burnt out on having a “40 hour” work week that actually occupies the majority of my mental time. This really resonated with me. I can't just stop thinking about this stuff just because I'm at lunch or at home if I'm working on a hard problem. But I don't get paid for that time.

You need an active switch-off. "Relaxing" won't do it, you need to absorb yourself in something totally different

Something physically taxing and which requires complete attention. My best example is skiing. Try to think about a hard problem at work, while doing 15mph on a black slope, and you'll soon be hugging a tree or doing a five point yard sale[1].

Of course, you generally can't ski often enough to relax. Other activities abound. Tennis occupies mind and body, most team sports too. Swimming, cycling and running don't cut it for me, but for some people do.

[1] http://www.urbandictionary.com/define.php?term=yardsale

Re: Hello, World

#55
post #51
post #30

Earlier quoted context omitted.

If we're talking about the modern purpose of a "Hello, world!" program, then I agree. However, at the time the idea was originated, and I'm sure for a good time afterwards, build processes and frameworks weren't as mainstream as they are today. Therefore the function of a "Hello, world!" program was simply to test out the basic features of the language. That's the way I see it.

The idea of the “hello world” program was promulgated by Kernighan and Ritchie in “The C Programming Language”, and they saw it the way kylec does. Quoting “The C Programming Language, Second Edition”: “This is the big hurdle; to leap over it you have to be able to create the program text somewhere, compile it successfully, load it, run it, and find out where your output went. With these mechanical details mastered,…

Thanks for the reference.

Re: Hello, World

#56

So this guy: - Changed his major overnight from whatever it was to computer science after writing a Hello, World program - Left "so-called higher education" to work at a real-life job "without even thinking about it twice" - Quit real-life job to be a bartender and chef - Quit doing that after getting girlfriend pregnant to 'go back to the "real world" to get a job' - Quit that to build a house and work on a farm Eve…

> if anything, this is an example of how peace of mind can't be found on either ends of a see-saw

Well, there are different personality types out there. This may be "peace of mind" for him.

Personally, I split my time between the "real world" and getting my "hands dirty". I think it's important to have both at the same time, so you don't end up see-sawing between the two.

Re: Hello, World

#57
post #21

You take an incredibly advanced and complex programming language, and dumb it down to the absolute bare essentials in order to embark on the journey of learning a new system. The purpose of the "Hello, World!" program, at least as I've understood it, is to make sure that you can actually get code running with whatever language, frameworks, and build process you have. Printing out a simple phrase is sufficient to demo…

"The only way to learn a new programming language is by writing programs in it. The first program to write is the same for all languages: Print the words hello, world" - p5, The C Programming Language, Kernighan & Ritchie, 1978.

Re: Hello, World

#58
post #43

I envy people who can simply walk away from a career like this. As the single source of income for a family of 5, I will be slinging code for The Man for years to come. I started programming shortly after learning to read, so it's not something I'll ever give up totally -- I do find side projects help in alleviating the ennui somewhat (given that you can at least challenge yourself, rather than solving the same probl…

yeah, i'm trying to figure out how to "be your own The Man" - its just a different problem to solve. easier said than done but we like hard problems, right? I've not solved it yet so let me know when you do. currently early 30s, family of 4, Boston

Current Objective:

Write a function that creates HTML that generates webpage views and prompts for creditcard numbers. Use monthly account deposits as metric to optimize performance.

FYI Rob rocks - see http://startupbook.net/

Re: Hello, World

#59

So this guy: - Changed his major overnight from whatever it was to computer science after writing a Hello, World program - Left "so-called higher education" to work at a real-life job "without even thinking about it twice" - Quit real-life job to be a bartender and chef - Quit doing that after getting girlfriend pregnant to 'go back to the "real world" to get a job' - Quit that to build a house and work on a farm Eve…

I wonder if he'll post a follow-up blog where he bounces back yet again to programming when he realizes how back-breaking, if not soul-sucking, farming is.

Or maybe he'll start blogging about and writing software for small family farming? There's an audience for it so maybe he can find the middle of that see-saw?

Post reply on HN