Link Details

Link 87579 thumbnail
User 241715 avatar

By dlinsin
via dlinsin.blogspot.com
Published: Jun 16 2008 / 13:39

One of the most prominent advantages of so called "dynamic languages" is their concise syntax and thus their savings in terms of code. With less code, there should be less space for errors, right? After all, they say "the best code is no code at all".
  • 10
  • 15
  • 1394
  • 553

Comments

Add your comment
User 270877 avatar

killerweb replied ago:

2 votes Vote down Vote up Reply

Theres no such thing as a free lunch. If you write less code that means there is more code under you. If you are using syntax sugar to do most of your leg work thats fine, but it's only a perception that less code is running. Don't get me wrong I think it's fine to use syntax sugar so you can spend more time designing, but don't fool yourself into thinking this actually can cause less bugs. Also, sometimes performance can be a bitch ;)

User 107114 avatar

daniel replied ago:

1 votes Vote down Vote up Reply

> Theres no such thing as a free lunch. If you write less code that means there is more code under you.

Good thought, but not always true. Some languages naturally have less boiler-plate syntax than others, without necessarily requiring extra support framework.

User 270877 avatar

killerweb replied ago:

0 votes Vote down Vote up Reply

Agreed, And to your point, as a developer you should clearly know what's happening under the covers to an extent.

User 241715 avatar

David Linsin replied ago:

0 votes Vote down Vote up Reply

Well, if you read my blog post, then you'll see that my conclusion is the same as yours.

User 270877 avatar

killerweb replied ago:

0 votes Vote down Vote up Reply

Hi David - Yes I did read it first :) The comment was to clearly state the false sense of less is more. Most cases developers don't even know what's going on under the covers and should be aware about the no free lunch, call me captain obvious.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.