Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
McWobbleston
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
61.
▲
by
McWobbleston
7y ago
F# with Giraffe is super simple to get up and running and it fits into the rest or the ASP.NET Core ecosystem
62.
▲
by
McWobbleston
7y ago
I'm constantly impressed by ways people manage to extend C# like this. I'll have to try this out :)
63.
▲
by
McWobbleston
7y ago
> Is F# still the red-headed step-child of Core? Yup. Although this doesn't really come into play with server code in my experience. I don't imagine I'd want to deal with it writing WPF / UWP things though where langu
64.
▲
by
McWobbleston
7y ago
I definitely appreciate being able to drop into an OOP style when I find it's necessary. In a talk Don Syme (F#'s original designer) goes into aspects of OO he enjoys, those understands the usefulness of, and those he does not enj
65.
▲
by
McWobbleston
7y ago
EF isn't really needed with Dapper and the available SQL type providers. Even still it's totally naturally to have a C# project holding the base EF stuff which you reference from your F# projects
66.
▲
by
McWobbleston
7y ago
There's actually a couple of minor things (like covariance). I was surprised to learn F# doesn't support creating sealed methods on classes the other week when I was extending some OO code. Thankfully F# and C# mix so well togethe
67.
▲
by
McWobbleston
7y ago
I really encourage you to use F#, as someone who's done C# for a long time I find F# (while not perfect) does strike near to that ideal balance of FP / imperative you speak of. Writing functional code naturally is a breeze, while
68.
▲
by
McWobbleston
7y ago
There's no compiler warning for incomplete matches, and without discriminated unions it's pretty verbose to write pattern-match friendly types C# has support for most F# features, they're just often awkward to use
69.
▲
by
McWobbleston
7y ago
It's the most efficient way to extract value from us
70.
▲
by
McWobbleston
7y ago
Clojure for the Brave and True has a really nice Emacs primer
71.
▲
by
McWobbleston
7y ago
Usually when working with immutable data you don't need to copy it around, you can just pass it around via reference, and the data structure will support cheap "updates". You can see this in F# and Clojure where immutable map
72.
▲
by
McWobbleston
7y ago
@await does look like line noise, but if they're considering giving other constructs a postfix syntax, I think the noise is justified. Overloading the dot operator creates confusion, it gives the impression that .await is somehow relat
73.
▲
by
McWobbleston
7y ago
As much as I liked Clojure when I dabbled for a few months it didn't really fix my dislike for dynamic languages, but I imagine core.typed / spec would fix that for me if I gave it another shot I loathed dynamic typing mostly beca
74.
▲
by
McWobbleston
7y ago
Personally, I have a bad working memory and struggle to remember the structure of data. I constantly have to jump around and try to find the name of things / recall their hierarchy With static typing I can just highlight a type /
75.
▲
by
McWobbleston
8y ago
All the ways we have to write native UI applications aren't exactly great though, and most aren't cross platform. Node always struck me as a strange trend but using web tech for UIs seems like a good fit for a lot of cases
76.
▲
by
McWobbleston
8y ago
Someone correct me if I'm wrong, but don't the JVM and CLR assume they're working with GC'd languages and a number of other things? Making them poor targets for many languages, and AFAIK a WASM runtime is a lot more ligh
77.
▲
by
McWobbleston
8y ago
Looking at the physical world it seems what "I" am is the integration of the cells/components of my body with the rest of universe to create a point of experience. That point of experience only exists with the integration of
78.
▲
by
McWobbleston
8y ago
That's one interpretation. I'm more particular to the interpretation that hell is a fire that destroys a soul (true death, not eternal torture) which some scriptures suggest, or that hell is an afterlife with the creators love.
79.
▲
by
McWobbleston
8y ago
F# for fun and profit is an excellent resource
80.
▲
by
McWobbleston
8y ago
F# touches on most of these points doesn't it?