Re: Amazing LINQ for .Net




"Frans Bouma [C# MVP]" wrote:
> Christoph Nahr wrote:
>> "Frans Bouma [C# MVP]" wrote:

<snip>

>> > C# is C#, it's not Miranda, it's not prolog, it's not VB.NET and
>> > it's not Ruby. It's C#. If people want functional programming, or
>> > dynamic typing, use a different language.
>>
>> Well, that's just a ridiculous statement. C# started out as a Java
>> clone with some C features, and its design philosophy was always
>> similar to Python: if a feature is useful, adopt it! C# is not a
>> single-minded reseach language that must be kept "pure".
>
> *sigh*. My point is that C# is an OO, single-inheritance, imperative
> language. If you add constructs of other paradigms to it, you get a
> mix of paradigms, which blur the intentional purpose of the language.
> I mean: why even use types at all, if Ruby apparantly is so great?

I won't comment on the merits of C# v3.0; I'm still becoming familiar
with 2.0. I think, however, that traditional OO programming can benefit
from approaches used in functional languages. A few years ago, Thomas
Kuhne wrote a book describing several design patterns that incorporate
functional programming concepts into OOP.

http://www.mm.informatik.tu-darmstadt.de/~kuehne/fps/

My opinion is that this is pretty neat stuff. :-) I think a melding of
these two approaches represents an evolution in programming. So I see
C#'s new features that help facilitate a more functional approach as
being a step forward; I especially like closures. Of course, features
shouldn't be added to a language lightly, and I trust a lot of thought
goes into each feature addition.

At any rate, I just wanted to chime in and at least suggest that using
aspects of functional programming within a traditional OO context can be
a good thing.





.



Relevant Pages

  • Re: Next Generation of Language
    ... Matsu, the creator of Ruby, said in the next 10 years, 64 or 128 cores ... procedural language like C or Ruby. ... Has anyone done any hard real time work using Lisp? ...
    (comp.lang.lisp)
  • Re: Next Generation of Language
    ... Matsu, the creator of Ruby, said in the next 10 years, 64 or 128 cores ... procedural language like C or Ruby. ...
    (comp.lang.lisp)
  • Re: Next Generation of Language
    ... Matsu, the creator of Ruby, said in the next 10 years, 64 or 128 cores ... procedural language like C or Ruby. ...
    (comp.lang.lisp)
  • Re: Why do some methods names which replace the content in place doesnt have the "!" sign?
    ... } I program in C++ but fail to see how a feature from} a statically typed language would provide any benefit to a dynamic} language such as Ruby. ... I have never wanted for such a feature in Ruby but} I have wanted features from Ruby in other languages. ... There are many valuable features that are orthogonal to whether typing is ...
    (comp.lang.ruby)
  • Re: What are your favorite Ruby features?
    ... I'm creating a new language which borrows heavily from Ruby, ... what features of Ruby its users enjoy the most. ... Finally, this may come as a shock to those who read my posts, but I tend to think that TDD support systems, beginning with the lowly assert() method, should behave like a debugger's variable watch system when they fail. ...
    (comp.lang.ruby)