dipityPix app

Sunday, July 20, 2014

Swift had me at "hello world"

I'm trying Apple's new programming language Swift.  Here is the minimal hello world:

println("Hello, World!")

Done.  No mandatory cruft.

The languages from my childhood were simple.  FORTRAN 77 would have and extra two or three lines (program, stop, end if I recall).  Cish languages would have an #include and some braces.  Yeah a few lines is not a big deal (especially compared to an OpenGL program to display one triangle), but the aesthetic apparent in the Swift one has me very hopeful.

Next I will try a simple ray tracer and see if this is just an infatuation...

No comments: