A language feature is a distinct aspect of a programming language, such as binding rules, lexical design, or facets of the type system.
Questions tagged [language-features]
618 questions
0
votes
1 answer
urdu language support in ios applications
i want to make an application that contains collection of text but in URDU language, i'm confused how to implement it . I've read many posts regarding this but couldn't come to a relevant answer. Please help me regarding this . Thanks in…

nickAtStack
- 163
- 8
0
votes
1 answer
Are async/await keywords only usable with VS 2012+?
Are async/await keywords only usable with VS 2012+ and not usable with the C# compiler, which I could use from command line?
I've read some questions at SO, like:
Will VS 2010 allow me to use the new async and await keywords in C#?
But, I don't…
user2402179
0
votes
6 answers
When to upgrade an existing program to new language features?
Imagine you have a program written e.g. in Java 1.4 or C# 1.0. Of course this program doesn't use generics and other language features that were introduced with later versions.
Now some non-trivial changes have to be made. And of course, you already…

Erich Kitzmueller
- 36,381
- 5
- 80
- 102
0
votes
0 answers
What are the "Seams" in AS3?
I'm reading "Working Effectively with Legacy Code", and was thinking about the "fancy" seams that he discusses in Chapter 4.
Since Actionscript 3 doesn't have method overloading, I was wondering what can be used as a seam in as3 besides the import…

Bob
- 1,605
- 2
- 18
- 33
0
votes
4 answers
Why do fixes of PHP Bugs/Features take so long?
This may not be strictly programming-related.
How come PHP Features / Bugs that seem important(*) always take a while to be developped?
For example, in PHP most sorting functions support the SORT_LOCALE_STRING, which allows an array of elements to…

altermativ
- 690
- 1
- 6
- 20
0
votes
3 answers
Why can I declare a 2D array with both dimensions sized variable but not new one?
As the problem stated, this is doable:
#include
int main(int argc, char *argv[])
{
unsigned short int i;
std::cin >> i;
unsigned long long int k[i][i];
}
Here I declared an array that is sized i by i, both dimensions are…

Shane Hsu
- 7,937
- 6
- 39
- 63
0
votes
3 answers
What's this language token/keyword/thingy mean?
At the following URL: https://developer.mozilla.org/en/XPCOM_Interface_Reference/nsICacheVisitor is the following code chunk:
boolean visitDevice(in string deviceID, in nsICacheDeviceInfo deviceInfo);
I thought I was dealing with c++, but "in" is…

Nathan Ridley
- 33,766
- 35
- 123
- 197
0
votes
1 answer
Keeping track of a value type without making a copy, or "Are there ref fields"?
Is it possible to maintain a reference to a value type so that when changes are made to it my code can see them?
Example: i am building a 2D camera for XNA and i want to be able to give it a reference to an arbitrary vector2 so that i don't have to…

RCIX
- 38,647
- 50
- 150
- 207
0
votes
3 answers
Unknown Java 7 feature
Possible Duplicate:
How are Anonymous (inner) classes used in Java?
I just discovered the following feature while reading through Java Puzzlers
public class Main {
public static void main(String[] args) {
new Object() {
…

Mathias Vorreiter Pedersen
- 780
- 8
- 22
0
votes
2 answers
statically-typed languages with types decided at runtime?
for example, something like this in Ada (if it were to support this):
type Type_Name is range bottom .. top;
where "bottom" and "top" are variables.
or something like this in C (if it were to support this):
struct s {
int a;
if (z<3) {
…

Jorge Martinez
- 45
- 2
0
votes
1 answer
Objective-C Method Types
I'm just starting to teach myself objective-c and attempting to learn the cocoa touch frameworks, as like many people recently I have developed an interested in a certain little multi-touch device.
Anyway, I'm following the Stanford tutorials and I…

JonB
- 4,422
- 2
- 27
- 25
0
votes
1 answer
How can I access the Groovy setter shortcut for multiparameter setters?
Let's say I have a java.util.Properties object. The Properties object has a method called setProperty(String name,String value). Is there a setter shortcut for it?
EDIT: maybe the Properties class was not the best example, because I think it handles…

Geo
- 93,257
- 117
- 344
- 520
-1
votes
2 answers
What is it called when an object is initialized without a type?
I've only encountered this a handful of times, and I don't understand it entirely yet, but I feel the need to research what's actually going on here behind the scenes.
I recognize that it is creating a new instance of an object, but the type has not…

Hazel へいぜる
- 2,751
- 1
- 12
- 44
-1
votes
1 answer
What is the definition of "language feature" in programming
I see that for such a widely used term I cannot find any definition or dedicated wikipedia article. I also use the term but I'm not sure whether I use it correctly in all cases.
By looking at sites that describe language features (e.g.…

Marinos An
- 9,481
- 6
- 63
- 96
-1
votes
2 answers
Can we get a canthrow statement in C#?
As a good programmer and code reviewer, I am always cringing when I see a developer catch "Exception". I was going to suggest C# add the "throws" clause from Java, but after reading the Anders Hejlsberg interview…

John Brown
- 238
- 2
- 12