What Language Feature Can You Just Not Live Without?

Posted by akdom on Stack Overflow See other posts from Stack Overflow or by akdom
Published on 2008-09-20T20:09:16Z Indexed on 2010/04/01 16:13 UTC
Read the original article Hit count: 379

I always miss python's built-in doc strings when working in other languages. I know this may seem odd, but it allows me to cut down significantly on excess comments while still providing a clean description of my code and any interfaces therein.

  • What Language Feature Can You Just Not Live Without?

If someone were building a new language and they asked you what one feature they absolutely must include, what would it be?

This is getting kind of long, so I figured I'd do my best to summarize:

Paraphrased to be language agnostic. If you know of a language which uses something mentioned, please at it in the parenthesis to the right of the feature. And if you have a better format for this list, by all means try it out (if it doesn't seem to work, I'll just roll back).

Regular Expressions ~ torial (Perl)

Garbage Collection ~ SaaS Developer (Python, Perl, Ruby, Java, .NET)

Anonymous Functions ~ Vinko Vrsalovic (Lisp, Python)

Arithmetic Operators ~ Jeremy Ross (Python, Perl, Ruby, Java, C#, Visual Basic, C, C++, Pascal, Smalltalk, etc.)

Exception Handling ~ torial (Python, Java, .NET)

Pass By Reference ~ Chris (Python)

Unified String Format WalloWizard (C#)

Generics ~ torial (Python, Java, C#)

Integrated Query Equivalent to LINQ ~ Vyrotek (C#)

Namespacing ~ Garry Shutler ()

Short Circuit Logic ~ Adam Bellaire ()

© Stack Overflow or respective owner

Related posts about subjective

Related posts about syntax