Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I love things like this. While 99 bottles of beer is pretty simple, applications like this give you a slightly better look at the language.

I try doing a simple 4 function calculator (*/+-) with parens and with two numerical addins (sometimes I pick sin/cos, sometimes I pick max( ....) and min( ...)

The RPN version is good since you need to create stack management in the core.

While this doesn't have the panache of "Write a web server in 3 lines of Ruby (oh don't forget those two 500 line libraries.) It does give you good example of the simple things you can do.

He also has a pretty good swath of languages, I'm always excited to see Awk, Lua and Python (my go to lanaguages) on the same page. I'll need to see if I can break out my COBOL skills and get a pull request made up.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: