Link Details

Link 922889 thumbnail
User 397584 avatar

By rudyjahchan
via blog.carbonfive.com
Submitted: Feb 12 2013 / 13:39

Syntatic sugar makes for more human-readable code and, if done correctly, provides for more flexibility. Many turn to Coffeescript to add that “sweetness”, but you can also achieve it with plain old Javascript, through Object.defineProperty. Here's how.
  • 2
  • 0
  • 240
  • 17

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.

Voters For This Link (2)



Voters Against This Link (0)



    Spring Integration
    Written by: Soby Chacko
    Featured Refcardz: Top Refcardz:
    1. Search Patterns
    2. Python
    3. C++
    4. Design Patterns
    5. OO JS
    1. PhoneGap
    2. Spring Integration
    3. Regex
    4. Git
    5. Java