16 Apr '13, 3pm

@josevalim Part of the story:

Syntax errors are a part of life for programmers. The language of the computer, no matter how flexible the language, is very picky. And thus how the language communicates back to the user about what it didn’t understand is important, because time is spent in this phase, no matter the skill level of the programmer. In Ruby specifically, MRI’s parser (and by extension the melbourne parser Rubinius uses) use yacc, and thus suffer from syntax errors which can be particularly difficult to understand. One particular syntax error that commonly occurs is when there is an ‘end’ missing from an expression. This results in the dreaded syntax error, unexpected $end, expecting kEND message. Here is a quick example: class Spaghetti class Sause def add(plate) while more? plate << self end end end Now, this is a short example and so spotting the error is fairly easy. But this error typica...

Full article: http://blog.fallingsnow.net/2009/11/29/helpful-syntax-err...

Tweets

mtv3.fi using a funny stock photo on a virus st...

rubyforge.org 16 Apr '13, 12am

http://127.0.0.1:37004/http://___._/2005/09/13/ theHoodwinkdBirthdayCake.html and saw no hoodwinks, so I checked the outpu...

Be helpful, be kind or be quiet

Be helpful, be kind or be quiet

raventools.com 16 Apr '13, 6pm

Something horrible happened yesterday in America. In the midst of the blood and terror, there were the heros we all hoped ...

#RCS, YouTube, and Being Helpful: An Interview with Wil Reynolds

#RCS, YouTube, and Being Helpful: An Interview ...

seomoz.org 17 Apr '13, 10am

Anyone who's seen Wil Reynolds from SEER Interactive give a presentation remembers him. The first time I saw him speak, at...