Re: Amazing LINQ for .Net
- From: "Wavemaker" <jabberdabber@xxxxxxxxxxxxxxxxx>
- Date: Sat, 17 Sep 2005 12:36:33 -0500
"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.
.
- References:
- Re: Amazing LINQ for .Net
- From: William Stacey [MVP]
- Re: Amazing LINQ for .Net
- From: Jon Skeet [C# MVP]
- Re: Amazing LINQ for .Net
- From: Christoph Nahr
- Re: Amazing LINQ for .Net
- From: Frans Bouma [C# MVP]
- Re: Amazing LINQ for .Net
- Prev by Date: Are gotos truly evil?
- Next by Date: Re: Are gotos truly evil?
- Previous by thread: Re: Amazing LINQ for .Net
- Next by thread: Re: Amazing LINQ for .Net
- Index(es):
Relevant Pages
|