Joachim Durchholz wrote:
> Am Freitag, den 15.02.2008, 20:53 +0000 schrieb Jon Harrop:
>> MSIE 7.
>
> Well, I got the syntax highlighted code easily copied and pasted, using
> Firefox and some simplicistic editor.
I'll get Firefox. Ironic that I don't use in under Linux because it is so
bloody unstable. :-)
>> </span>
>
> Now that is braindamaged. A simple
>
> <pre style="color:#008000;">
> let seqdrop2 n list =
> Seq.to_list list
> |> List.rev
> |> List.to_seq
> |> Seq.truncate n
> |> Seq.to_list
> |> List.rev
> |> List.to_seq
> </pre>
>
> would have worked, too, and been far more copy&paste-friendly.
>
> Um... unless, of course, you want to syntax highlight individual lexical
> elements like on the code snippets given farther down the page, so it
> may be just a degenerate case. Even that code would copy&paste without a
> hitch though, so it really seems to be a tool problem.
Yes. I've no idea what generated that cruft but this guy is providing some
great working examples of using Windows Presentation Foundation from F#.
>> Regardless, type throwback already solved the problem you're referring
>> to. F# provides all of these benefits and it works beautifully, a dream
>> come true!
>
> Hm. Given that you have a track record of extremely positive or negative
> judgements, I'll withhold mine for a while.
:-)
> Personally, I'm more than a little concerned about MS' lock-in
> strategies behind .net, so F# would have to be orders of magnitude
> better than anything else to make me even remotely interested.
Oh yes, there's no question this is serious lock in. I'm willing to take
the
gamble because I have eggs in other baskets and I don't mind advocating F#
for technical users because they write almost entirely disposable code, so
the lock-in is irrelevant for them.
I am really scared by the fact that F# has absolutely no decent
competition
though. OCaml is a great base tool for technical users but without sup****t
for commerce from its developers (to get it polished) it is going nowhere
fast and without the sup****t of commerce, it will never have anything out
of the ordinary to offer its users. So OCaml's future looks bleak to me.
F# does an awesome job of addressing all of these problems but, as you
say,
replaces them with lock-in and platform specificity.
If I can double our turnover again this year, I'll start work on something
to replace OCaml...
--
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
http://www.ffconsultancy.com/products/?u


|