Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
enricosada
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
enricosada
12y ago
f# and OCAML are both from ML family, so yes syntax is similar (see https://en.wikipedia.org/wiki/Category:ML_programming_langua... ) Both can do oop Syntax differ a bit. F# is whitespace significant like python by de
62.
▲
by
enricosada
12y ago
some differences: - consume and produce .net libraries (everything c# can do except NullReferenceException) - type providers, explore and use an api, strogly typed but easier than dynamic (example http://blogs.msdn.com/b
63.
▲
by
enricosada
12y ago
things usually get ugly with projection (one class = one select) or class reuse (mapping) this is code -> sql string -> exec -> code (mapping results) best approach (ihmo) is using: sql string -> exec -> results with type for
64.
▲
by
enricosada
12y ago
TL;DR .net core = surgery of .NET Libraries for crossplat cleanup + RyuJIT Virtual Machine (clr) The clr will be open source (with new RyuJIT jit compiler), it's happening one commit at time :D open source CLR/full .NET = readonly
65.
▲
by
enricosada
12y ago
F# use the same + operator > 1.0;; val it : float = 1.0 > 1;; val it : int = 1 > 3.0 + 1.0;; val it : float = 4.0 > 3 + 1;; val it : int = 4 or strings > "3" + "4";; val it :
66.
▲
by
enricosada
12y ago
This post is about latest feature added to f# language (syntax cleanup, speed, etc) why use a functional language? see http://fsharpforfunandprofit.com/posts/ten-reasons-not-to-us... Why use f#? see http://
67.
▲
by
enricosada
12y ago
F# is ML family (like ocaml) With F# you use tuple a lot so is nicer have ',' as separator for tuple parts. let tuple1 = (1, 3) //tuple (int, int) let tuple2 = 1, 3 //same as before, parens are optional
68.
▲
by
enricosada
13y ago
f# multiple implementations (comprension, partial, parallel) //array comprehension let squareVec vector = [| for x in vector -> x ** 2.0 |] squareVec [| 1.0; 2.0; 3.0 |] [| 1.0; 2.0; 3.0 |] |> squareVec /&#
69.
▲
by
enricosada
13y ago
+1 airvpn, fast and good tutorials for every device
70.
▲
by
enricosada
13y ago
you can check user groups for developers, not too bad http://fsharp.org/groups/
71.
▲
by
enricosada
13y ago
.NET framework is: + runtime + core = standard library, io/string/async/thread/etc/linq. + some bundled stack, like wcf for create service, wpf for ui, mef for plugin, xml serialization, json serialization, asp.net
72.
▲
by
enricosada
13y ago
About libraries, .NET has a big, complete and really good documented standard library. With standard library I mean int/float/string/IO/http/xml/async/etc not speaking about stacks of .net (like ui with wp
73.
▲
by
enricosada
13y ago
mono team is really fast to address problem found by fsharp on runtime/msbuild/corelib/etc. Xamarin sponsor one dev fulltime (@7sharp9) to work on F# (see activity on github, is not only about Xamarin projects). This link on
74.
▲
by
enricosada
13y ago
i am from Milan, you can go to user groups ( like http://milano-xpug.pbworks.com http://www.webdebs.org/ ) or hacker spaces ( see http://www.talentgarden.it/it/ ). Lot of people here with
75.
▲
by
enricosada
13y ago
F#