Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dwhitney
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
31.
▲
by
dwhitney
6y ago
sounds like you have a good manager. you should take a moment and feel happy about that :)
32.
▲
by
dwhitney
6y ago
I agree you should avoid inheritance, but it’s the fact that Scala supports inheritance that makes type inference difficult (also null). Type inference in Haskell is much better, for example. I saw a great presentation on the topic by Tho
33.
▲
by
dwhitney
6y ago
I think mixing the OO and FP is the crux of the problem. Type inference and subtyping (class based inheritance) don't mix well, and often require type annotations to help the compiler when types get somewhat complex. Eventually you dev
34.
▲
by
dwhitney
6y ago
I could remember everything about every codebase I had ever written up until about the age of ~30. Now at the age of ~40, I can't remember what I wrote two weeks ago. It'll happen to you ;)
35.
▲
by
dwhitney
6y ago
I need to write a blog entry titled, "Your test suite is basically a sh*tty type system." -- I'm in the "totally anal" camp of type system aficionados :)
36.
▲
by
dwhitney
6y ago
it drives me absolutely insane that this TypeScript compiles: const num: number = [][0]
37.
▲
by
dwhitney
6y ago
Yeah hopefully they do a reprint
38.
▲
by
dwhitney
6y ago
I loved this book when I read it in college. Things people should know: * It's funny. * Benjy is just one of the characters. He has mental issues, which make his chapters more difficult, but the other characters' chapters are stra
39.
▲
by
dwhitney
6y ago
FYI - you're one of the toxic users he's talking about
40.
▲
by
dwhitney
6y ago
From the abstract: "This Note argues that the current framework in antitrust—specifically its pegging competition to 'consumer welfare,' defined as short-term price effects—is unequipped to capture the architecture of market
41.
▲
by
dwhitney
6y ago
Unison is truly doing something different and new. Totally worth checking out.
42.
▲
by
dwhitney
6y ago
Elm, but not PureScript?!? :) I use PureScript everyday, and I love it. It's nearly identical to Haskell, with a few small changes that can be described on about a page
43.
▲
by
dwhitney
6y ago
Something is rotten in the state of Denmark
44.
▲
by
dwhitney
6y ago
Server Side Rendering is a good use case. If you want to pre-render a data visualization that can be loaded with a web page, you can use something like this in place of the browser's canvas, but use the same code to generate the data v
45.
▲
by
dwhitney
6y ago
Pure functions with clearly defined type signatures are always preferable, in my opinion, because there is far less thinking involved. Elm's vdom is done in this way, as is the vdom used in PureScript Halogen. React is great, and groun
46.
▲
by
dwhitney
6y ago
"becoming" - it has been since the beginning. You have to import the react library or it doesn't work. You create classes but never instantiate them. JSX is invalid JavaScript syntax. It's a veritable cornucopia of black
47.
▲
by
dwhitney
7y ago
heh, I'd take tag out of there and let CI handle that. Good list though.
48.
▲
by
dwhitney
7y ago
I've had engineers tap me on the shoulder with a proud look on their face while pointing at some crazy mess of branches they've just spent hours futzing with to finally get "right". It would have taken them a fraction of
49.
▲
by
dwhitney
7y ago
tl;dr This dude, through various financial shenanigans, is loaning himself hundreds of millions of dollars to buy real estate and lease it back to WeWork. He then pays the loans off by issuing shares of We Work stock. Nothing is illegal abo
50.
▲
by
dwhitney
7y ago
Yeah I agree with @ff_57 here - the "breaking changes" really aren't a big deal, and don't effect many libraries. With the existing tool chain you will know immediately if a library has any of these incompatibilities, an
51.
▲
by
dwhitney
7y ago
Once you get a taste for higher kinded types (aka: type constructors), there is no going back! PureScript is fantastic language with an active an open community. Best place to start (IMHO) is https://github.com/lumihq/p
52.
▲
by
dwhitney
7y ago
Like many of us, he had children and couldn't keep up with the workload, so he took a step back. Fortunately there is a very active community working on PureScript!
53.
▲
by
dwhitney
7y ago
Rich Hickey gives the best talks. It's that simple.
54.
▲
by
dwhitney
8y ago
"burned with a candle" - nobody upvoted you for any reason other than wanting to know how this happened. Do tell, OP!
55.
▲
by
dwhitney
8y ago
Functional Programming provides a great solution to this problem. You learn what a Functor, Applicative Functor, and Monad are, and then the concepts remain useful for the rest of your life. Below is an amazing blog entry on how to apply fu
56.
▲
by
dwhitney
9y ago
Ha! This is amazing
57.
▲
by
dwhitney
9y ago
Yes. Dear God. It's just silly. The worst part of the whole thing is how un-silly it looks. The author must have spent at least a week (probably more) putting this together. I don't envy his manager. One of the toughest problems a
58.
▲
by
dwhitney
9y ago
I used BeOS back in the day too. Doesn't look like Haiku is making much headway. Are there any alternate operating systems that are?
59.
▲
by
dwhitney
14y ago
The sever side statefulness of Lift, the fact that it supposes I don't know how to program HTML/JavaScript, and the hostility toward Scala that Lift's creator harbors since negotiations with him joining Typesafe broke down, are all reasons
60.
▲
by
dwhitney
14y ago
At Pellucid Analytics we're using Play 2.1 with a similar success story to LinkedIn's. The undersold feature IMHO is the asynchronous responses: with the excellent new monadic scala.concurrent.Future interface, you can more easily put toget
More ›