Top "Language-features" questions

A language feature is a distinct aspect of a programming language, such as binding rules, lexical design, or facets of the type system.

Is it possible to replace a function/method decorator at runtime? [ python ]

If I have a function : @aDecorator def myfunc1(): # do something here if __name__ = "__main__": # this will call the function and …

python runtime language-features decorator
Calling methods inside if() - C#

I have a couple of methods that return a bool depending on their success, is there anything wrong with calling …

c# language-features short-circuiting
Should I use jMonkeyEngine 3 (jME 3) or Unity 4.3 to teach game programming to my children?

I'm looking to teach my kids programming, and it looks like I've narrowed it to two options: jMonkeyEngine 3 (jME 3) Unity 4.3 …

unity3d language-features jmonkeyengine
Why doesn't Java varargs support collections?

In my Java code I often use the very handy method(Class... args) varargs. As far as I know, they …

java collections language-features variadic-functions
Equivalent of Class Loaders in .NET

Does anyone know if it possible to define the equivalent of a "java custom class loader" in .NET? To give …

.net compiler-construction programming-languages clr language-features
Best javascript syntactic sugar

Here are some gems: Literals: var obj = {}; // Object literal, equivalent to var obj = new Object(); var arr = []; // Array literal, equivalent …

javascript language-features syntactic-sugar
The written versions of the logical operators

This is the only place I've ever seen and, or and not listed as actual operators in C++. When I …

c++ language-features logical-operators
Is there, or is there ever going to be, a conditional operator in Delphi?

I kept my hands off Delphi for too long, I guess; busied myself with Java and PHP a lot over …

delphi delphi-2009 language-features conditional-operator
Does Java have Automatic Properties?

In c# you can setup properties like this: public int CustomerId {get;set;} Which sets up an automatic property called …

java language-features
What's the best language for physics modeling?

I've been out of the modeling biz, so to speak, for a while now. When I was in college, most …

language-features simulation physics modeling