Skip to main content
Filter by
Sorted by
Tagged with
-4 votes
2 answers
260 views

At this moment there is no such thing as non-nullable types in C#. It is quite obvious that as any other feature it takes time and money to get it developed. No questions here. However I can see a lot ...
Trident D'Gao's user avatar
6 votes
1 answer
896 views

We just received the stable version of CUDA 5. There are some new terms like Kepler and ability of using MPI with better performance, and running the same card with 32 applications at the same time. I ...
phoad's user avatar
  • 1,881
3 votes
4 answers
918 views

I just tried in Firebug console, let (X=10) X/2 and [x,y]=[y,x] These are features supported by SpiderMonkey, I guess V8 has its own share. Where can I learn of features that are not yet included ...
Eduard Florinescu's user avatar
0 votes
2 answers
160 views

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 ...
Jorge Martinez's user avatar
1 vote
1 answer
126 views

What languages features are known for being useful for fast prototyping of projects before starting the actual code?
MaiaVictor's user avatar
  • 53.4k
6 votes
3 answers
2k views

It is more of a theoretical question: Is it possible by any means in C# to create a truly immutable doubly linked list? A problem as I see it is in the mutual dependency of 2 adjacent nodes. By "...
Trident D'Gao's user avatar
-3 votes
3 answers
234 views

Is there any, official or unofficial, documentation for control structures like this one: <?php if ($expression == true) { ?> <h3>Output</h3> <?php } else { ?> <h3&...
Sampo Sarrala's user avatar
8 votes
2 answers
30k views

I have learned that isset($array) is not required when checking for existence of particular key, however I also know that there is some reasons to check, without known key, if $array is instantiated. ...
Sampo Sarrala's user avatar
2 votes
9 answers
186 views

I wrote a basic tic-tac-toe game based on multidimensional arrays. g[3][3]. In my program I have about 9 conditions like the one I am about to show you: if((g[0][0] == X && g[0][1] == X &&...
Bugster's user avatar
  • 1,604
3 votes
1 answer
217 views

i'd like to be able to create "ghost" packages and subs. I have a configuration (ini) file with entries like this: [features] sys.ext.latex = off gui.super.duper.elastic = off user.login.rsa = on ...
Robert's user avatar
  • 4,484
1 vote
1 answer
233 views

I have been spending hours digging in Govinda great job in WebdnaCodeSparker. I must confess I have never been using the [function] and I now wondering how to use it... I went thought the doc, it ...
Joebarboat's user avatar
4 votes
5 answers
227 views

In code, class MyObject { public String doThing() { return "doh"; } } class MyClass { private myObject = null; public MyClass() { myObject = new MyObject() { ...
Kieveli's user avatar
  • 11.1k
7 votes
5 answers
1k views

This article says No More Typedefs, Defines, or Preprocessor in 2.2.1 . In C++ the include is part of the preprocessor. What is the import?
Bakudan's user avatar
  • 19.5k
0 votes
2 answers
495 views

I think that many C# developers collided with a such problem: there is some enumeration in standart .net library and many standart classes and their methods to work with them. But if you want to ...
Tadeusz's user avatar
  • 7,033
5 votes
3 answers
1k views

I don't know well Smalltalk, but I know some Objective-C. And I'm interested a lot in Smalltalk. Their syntax are a lot different, but essential runtime structures (that means features) are very ...
eonil's user avatar
  • 86.7k
2 votes
5 answers
117 views

Possible Duplicate: Are PHP short tags acceptable to use? The <?= is one of the very few elegant things about PHP, IMO. Yet, there are people that deliberately avoid it (in favor of the much ...
Emanuil Rusev's user avatar
2 votes
1 answer
162 views

What features were added to c that were originally in c++? When where they added and for what reason(what where the pro/con arguments)? How do they differ in c as compared to c++? Did the features ...
Roman A. Taycher's user avatar
30 votes
2 answers
65k views

What (if any) are the differences between the following two methods of reading a line from standard input: raw_input() and sys.stdin.readline() ? And in which cases one of these methods is preferable ...
Grigor Gevorgyan's user avatar
1 vote
2 answers
708 views

I'm a bit confused about anonymous structures in C1x. Does the rule that a struct pointer, suitably converted, points to it's first member apply to an initial anonymous struct, or simply to the ...
Michael Morris's user avatar
45 votes
1 answer
16k views

In my Java code I often use the very handy method(Class... args) varargs. As far as I know, they allow you to pass any amount of Class objects or an array of Class[]. Since I also often use the Java ...
tb189's user avatar
  • 2,084
4 votes
1 answer
155 views

In the following code why are the variables c2 and c3 of a different anonymous type? Thanks in advance for any advice and ... cheers ! namespace ConsoleApplication5 { class Program { ...
HerbalMart's user avatar
  • 1,739
11 votes
6 answers
574 views

The title pretty much sums up my question. The deprecation and removal of case class inheritance is a pretty new one, and I wonder which things got removed/substantially changed before that. I ...
soc's user avatar
  • 28.5k
2 votes
2 answers
160 views

In objective-c, is for (Foo *foo in fooList) ... more like which of the following @interface Bar : Foo ... for (Foo *f in fooList) { // A: if ([f isMemberOfClass:[Foo class]]) ... // dont ...
Tom Fobear's user avatar
  • 6,779
12 votes
5 answers
426 views

I've been examining the Java Language Specification here (instead I should be out having a beer) and I am curious about what a method can contain. The specification states a method body can contain a ...
Joeblackdev's user avatar
  • 7,357
3 votes
5 answers
6k views

I've recently graduated and started a real job. In our training they've been exposing us to VB.NET and a lot of the features they use here. In some of the examples, they've used Select statements (and ...
Wayne Werner's user avatar
  • 52.3k

1 2 3
4
5
13