Live data from Hacker News

F# 3.0 Developer Preview Now Available

blogs.msdn.com

1–10 of 16 posts

Re: F# 3.0 Developer Preview Now Available

#2
Looking at the new features, I get the distinct impression that the F# team has a clear vision of what work their language is suited for. It's meant to process data. These changes let more of your data pipeline happen within F#, extending up to, or even into, the data providers.

I really think F# benefits from being part of .NET instead of a stand-alone language. C# is probably better for designing a system, where you have a bunch of components swimming around talking to each other and maintaining state and dealing with the outside world and whatnot. F# is better for designing a process that takes input and produces output. That F# process can then be part of a C# system. That lets the F# team not have to worry so much about the system-y stuff, and design a tighter, more-focused language. (Ditto C#--from one point of view, .NET allows F# to be a DSL for C#).

Re: F# 3.0 Developer Preview Now Available

#4
post #2

Looking at the new features, I get the distinct impression that the F# team has a clear vision of what work their language is suited for. It's meant to process data. These changes let more of your data pipeline happen within F#, extending up to, or even into, the data providers. I really think F# benefits from being part of .NET instead of a stand-alone language. C# is probably better for designing a system , where y…

I agree. F# and Scala are on the right track. Previous attempts to build total ecosystems around functional languages were too ambitious. In a mixed environment like this they can be allowed to shine doing the things they do best and programmers can ease their way into new paradigms with working code and familiar tools and libraries.

Unfortunately I think Scala is a little too indebted to Java/JVM and tries a little too hard to match the syntactic flexibility of Ruby. A Scala-- would be an easier sell, I think.

Re: F# 3.0 Developer Preview Now Available

#5
post #4
post #2

Looking at the new features, I get the distinct impression that the F# team has a clear vision of what work their language is suited for. It's meant to process data. These changes let more of your data pipeline happen within F#, extending up to, or even into, the data providers. I really think F# benefits from being part of .NET instead of a stand-alone language. C# is probably better for designing a system , where y…

I agree. F# and Scala are on the right track. Previous attempts to build total ecosystems around functional languages were too ambitious. In a mixed environment like this they can be allowed to shine doing the things they do best and programmers can ease their way into new paradigms with working code and familiar tools and libraries. Unfortunately I think Scala is a little too indebted to Java/JVM and tries a little…

I read somewhere about using object-oriented languages for programming-in-the-large, and functional languages for programming-in-the-small. That is, using OO techniques for overall architecture and organization, and FP techniques to push data around. I should try to find a link...

Re: F# 3.0 Developer Preview Now Available

#8

I find F# very tempting as a gateway into .NET. Anyone used it with MVC?

It can be used with MVC, but the problem is MVC is still C# centric - as in the scaffolding bits that it generates are C# (or VB).

There's also the question of Razor supporting F#, which is not yet there. I remember somebody spiking some code for that, not sure if it's usable.

You can still write all your controllers in F#; but if your front-end is C#(razor), and if your data access is in L2S or EF, then F# feels like added baggage. Still could be useful in some occasions.

Re: F# 3.0 Developer Preview Now Available

#9

I find F# very tempting as a gateway into .NET. Anyone used it with MVC?

Yup, I even wrote a framework to convert F# to javascript which allowed me to create a new (really powerful) validation provider for MVC. Sadly I haven't had a real world project that fit it well, so it's kind of gone by the wayside.

It's fairly straight forward to use with MVC, though it's less than ideal. You basically need to have a C# MVC project that referneces your F# projects (these would contain your controllers etc.)

Re: F# 3.0 Developer Preview Now Available

#10
post #4

Earlier quoted context omitted.

I agree. F# and Scala are on the right track. Previous attempts to build total ecosystems around functional languages were too ambitious. In a mixed environment like this they can be allowed to shine doing the things they do best and programmers can ease their way into new paradigms with working code and familiar tools and libraries. Unfortunately I think Scala is a little too indebted to Java/JVM and tries a little…

I read somewhere about using object-oriented languages for programming-in-the-large, and functional languages for programming-in-the-small. That is, using OO techniques for overall architecture and organization, and FP techniques to push data around. I should try to find a link...

Relevant link:

http://www.johndcook.com/blog/2009/03/23/functional-in-the-s...

Post reply on HN