What do you think about C#? Does anybody here have any experience with it?
Since I read Slashdot, I got the impression that it was a demon language Microsoft created to choke the entire universe in a sticky net of DRM and fail, but recently I've been looking at it and it actually looks pretty nice.
While Perl, PHP, Python, and Ruby all have no specification, C# has been standardized by Ecma International and ISO/IEC.
Name:
Anonymous2007-02-21 12:28 ID:M/hAHc6x
Here's a C# question for you.
Does the langauge have syntactic sugar for enumeration of enums? That is, can you write something like:
>>50
Of course, it's just to stick it to >>41 who claimed it wasn't possible.
Name:
Anonymous2007-02-26 17:38 ID:C25Sp8v5
>>48
What language is that? I thought it was JavaScript, but Firefox wouldn't allow it without some parenthesis.
({'Long': function(){ alert(1); },
'Loong': function(){ alert(2); },
'Looong': function(){ alert(3); },
})[status]()
>>56
"out" is a keyword. So is "var". Have fun writing compilers.
Name:
Dschingis Khan2007-03-27 1:35 ID:Y0WD9vb+
>>20
Actually, he's right. That IS how human language works. Try reading something without punctuation coherently (check your spam box. Or /b/, for that matter). >>34
I can tell someone's never done AI work. What's more, it works fairly well as a high-level, portable language for general
application programming.
C# has some interesting ideas, but it's not a place to start, nor is it a place to finish. So yeah, it's a lot like Java, only even fewer people use it (or take it seriously).
Name:
Anonymous2007-03-27 11:06 ID:tuZU6y0C
>>56
Because it doesn't properly support functional programming.
I can tell someone's never done AI work. What's more, it works fairly well as a high-level, portable language for general
application programming.
ok, name one useful application written in common lisp.
and i have done AI work. actual useful AI work (in perl), not the mental masturbation you kids do with lisp.
Name:
Anonymous2007-06-21 13:49 ID:uDTBOywh
Heaven:
EXPERT PROGRAMMER
Name:
Anonymous2007-06-21 14:22 ID:9yDjdQad
>>1 While Perl, PHP, Python, and Ruby all have no specification, C# has been standardized by Ecma International and ISO/IEC.
Lol, somebody has been reading propaganda here. The fact Microsoft paid people who work at ISO/IEC and ECMA and Guido, Larry Wall and the others are poor doesn't mean anything. But contrary to what you think, these languages are standardized as well. For example, Python is standardized by the Python Software Foundation. There's a standard reference describing how any interpreter of Python should behave with all detail.
Being standardized by a famous group is one of the stupidest reasons to ever choose a language.
C# is just Java with less fail and a more or less fixed platform. Dynamic languages such as Python or Ruby feature things C# can only dream of, are truly portable, and are 5 to 8 times more productive when we're talking about real work getting done. They are also more expressive, and more comfortable and fun to use.
>>59 Actually, he's right. That IS how human language works. Try reading something without punctuation coherently (check your spam box. Or /b/, for that matter).
If you wrote no periods but used EOLs instead, it'd be almost as readable, only longer. Since in programming you don't do a; b; c; d; e;, there's no advantage of using statement terminators; EOLs are there anyways.
>>63
Ask Amazon.com or Google; vital parts of their systems are written in Common Lisp.
Reddit was originally written in Common Lisp (but later switched to Python).
Naughty Dog used an internal variant of Lisp to program the Jak and Daxter series. (I know, you asked for examples of Common Lisp usage, but I'm pulling these from the top of my head.)
Emacs is mostly its own variant of Lisp, with a C core for performance. (See above parenthetical.)
>>66
i wonder why reddit switched to python? probably because you can't do anything useful in common lisp.
games are not useful.
emacs is not useful.
scientific applications that suck so bad i end up writing my own instead are not useful.
Name:
Chris Hanssen2007-06-22 3:02 ID:994x7LZg
>>70
NO! You are not call me an python I am not any snake, ok? I has rights you know that? Even on the internets it is unfair that I should be calling an pedophile and fuckin admins are banned you REAL soon, ok? Then you wont be all cock hosey and fuckin real hard and mad and shit becoz you are gone from the sight and band forever.
Name:
Anonymous2007-06-22 4:19 ID:Y7i5+FtD
C# is Java plus some nice syntactic sugar. Plus, you get a much better interface to Win32 stuff vs C++ if that's your thing. Other than that, nothing to see here, move along.
"Emacs is undoubtedly the most powerful programmer's editor in existence."
-- Eric S. Raymond
"If you are a professional writer—i.e., if someone else is getting paid to worry about how your words are formatted and printed—emacs outshines all other editing software in approximately the same way that the noonday sun does the stars. It is not just bigger and brighter; it simply makes everything else vanish."
-- Neal Stephenson
>scientific applications that suck so bad i end up writing my own instead are not useful.
I don't know about that. Maxima is pretty fuckin' cool.
>>73
apparently you, eric s. raymond, and neal stephenson have never used nvi.
i've never used maxima, maybe i'll try it if i ever need to solve a problem that i can't solve with perl in less than 10 seconds.