Fog Creek Software
Discussion Board




Evolution of a programmer

Came across this last night, thought it would be a good Friday post

http://www.marica-iztok.com/jaro/The%20Evolution%20of%20a%20Programmer.htm

CF
Friday, June 04, 2004

Guru Hacker

% cat
Hello, world.
^^D

------------------------------

How come this works? Does it reuse some buffer, or cat prints "Hello world" by default, or what?

Alex
Friday, June 04, 2004

> How come this works? Does it reuse some buffer,
> or cat prints "Hello world" by default, or what?

2-4 fingers, some memory and stdout

Michael Popov
Friday, June 04, 2004

Alex,

If you just bang "cat" at a terminal, it will wait for input from stdin (that's you), terminated by a ^d.

Usually, it's used like this:

>> cat > somefile
I type this and press
^D
>> cat somefile
I type this and press

Eli Bendersky
Friday, June 04, 2004

Though funny, is it not the whole purpose of the "Hello world" app to explore and show all the capabilities of a language?

.
Friday, June 04, 2004

No, it's to illustrate everything you need to do to make a program *except* for the code itself.

How to open the IDE and compile a program, the mandatory headers such as the unix #! and main() etc.

A.T.
Friday, June 04, 2004

I'd like to see the J2EE version of hello world on there.

Matt
Friday, June 04, 2004

Matt:

Ask and you shall receive.

<a href="http://www.devx.com/ibm/Article/16365">Developing and testing a complete J2EE "Hello World" app with WebSphere Studio V5</a>

and also this blog entry:

<a href="http://www.clarkware.com/cgi/blosxom/2003/11/17#HelloCruelWorld">Hello Cruel World</a>

CF
Friday, June 04, 2004

Damn not thinking before posting HTML....

CF
Friday, June 04, 2004

"How come this works?"

If you have to ask, you are obviously not at the Guru level yet.

G
Friday, June 04, 2004

"Junior programmers create simple solutions to simple problems. Senior programmers create complex solutions to complex problems. Great programmers find simple solutions to complex problems [...] Just as the goal of science is to find simplicity and order in a seemingly complex universe, the goal of programming should be to find simple solutions to complex problems." (Charles Connell)

Derek
Monday, June 07, 2004

*  Recent Topics

*  Fog Creek Home