Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jasim
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
64 ms
·
301.
▲
by
jasim
7y ago
I understand your point of view and I also don't think my understanding of Typed FP would be complete without sufficient immersion in Haskell. But even with the learning materials, it is too steep a climb for beginner programmers for w
302.
▲
by
jasim
7y ago
OCaml (Reason) was my entry point into Typed FP (after a few failed attempts at learning Haskell). The best thing about OCaml is that it allows side-effects, so one can go a long way without having to touch advanced FP. It is only recently
303.
▲
by
jasim
7y ago
:)
304.
▲
by
jasim
7y ago
Sometimes I wonder whether Alan Perlis would mock at us for being Bible salesmen for Typed FP languages.. yet it is such a quality-of-life upgrade and a thinking tool that it feels justified to shout from the rooftops :)
305.
▲
by
jasim
7y ago
Yes I was thinking of a couple of things, but most importantly the existence of null in the language. So functions either receive exactly the type they were looking for (which is better than dynamically typed), or a null (which never happen
306.
▲
by
jasim
7y ago
Neither Elm, nor any language in the Typed FP family, can do that. What it can do is to prevent us from making clerical mistakes. That's the surprising thing I learned programming in Typed FP: we very rarely make logical mistakes. Our
307.
▲
by
jasim
7y ago
The Patrician took a sip of his beer. ‘I have told this to few people, gentlemen, and I suspect never will again, but one day when I was a young boy on holiday in Uberwald I was walking along the bank of a stream when I saw a mother otter w
308.
▲
by
jasim
7y ago
That might be false economy. Most images in a page would come above 30kb. I've seen 3rd party widgets for chat and support sometimes bundle their own copy of the React framework, not to mention huge chunks of CSS, most of which are unu
309.
▲
Don't build growth teams
(conversionxl.com)
201 points
by
jasim
7y ago
|
97 comments
310.
▲
That Crafty Feeling
(irmadriessen.nl)
1 points
by
jasim
7y ago
|
0 comments
311.
▲
by
jasim
7y ago
Yet these statistics don't matter to individuals for whom life is mostly suffering. We're together in our happiness, but alone in our grief. The Gates note here recounts such stories, and even they haven't captured the deep a
312.
▲
by
jasim
7y ago
This might shed some light: https://www.harigopal.in/talks/2018/jsfoo
313.
▲
by
jasim
7y ago
My recommendation for using Reason in production is to go for it -- but only if someone in the team has previously shipped production software in a typed functional programming language. If not, use it in a non-critical project, have a pair
314.
▲
TypeScript vs. ReasonML
(blog.dubenko.dev)
311 points
by
jasim
7y ago
|
223 comments
315.
▲
In praise of property-based testing
(increment.com)
1 points
by
jasim
7y ago
|
0 comments
316.
▲
Background: How pure functional programs deal with input and output
(zio.dev)
1 points
by
jasim
7y ago
|
0 comments
317.
▲
by
jasim
7y ago
More generally, reality just gets more nuanced as things go broader or deeper in scope. Toy projects are clean, uncluttered; production code needs error handling, logging, monitoring, scaling, and much more.
318.
▲
Yes Silver Bullet
(blog.ploeh.dk)
4 points
by
jasim
7y ago
|
0 comments
319.
▲
Hello, Tau Prolog (Prolog on the Browser)
(prologhub.pl)
5 points
by
jasim
7y ago
|
0 comments
320.
▲
by
jasim
7y ago
If I understood you right, Lisp was not directly inspired by lambda calculus, but from McCarthy's own research into recursive functions where he found that the three primary functions can cover the whole of computation. What I'm e
321.
▲
by
jasim
7y ago
Don't use `text-gray` if you're building an app that needs to be themed like that. Instead use `text-secondary` or a similar name that you'd otherwise use in a themeable system. Tailwind lets you define _every_ single design
322.
▲
by
jasim
7y ago
Front-end often has longer data transformation pipelines than back-end, and that leads to the complexity you mention. If you treat it as a programming problem, you can write better front-end code by shoring up on your ability to compose, gl
323.
▲
by
jasim
7y ago
There is no good way to solve it using Tailwind classes alone. You could parse the markup first and add Tailwind classes before rendering them, but that is too much pain for very little reward. The best trade-off I've found is to give
324.
▲
by
jasim
7y ago
Tailwind makes it very easy to change theme by changing just a single configuration file: https://tailwindcss.com/#designed-to-be-customized It is very liberating to use Tailwind instead of creating unique CSS classes for e
325.
▲
by
jasim
7y ago
The political discussions that make their way into HN are very US-centric and that excludes me and countless others who actively participate here. A lot of such discussions are not real enough to me - they are problems of a much more privil
326.
▲
by
jasim
7y ago
Another place where I wish I knew more math is Programming Language Theory. Proofs, abstract algebra, Denotational semantics etc. This would've let me work through books like Software Foundations, TAPL etc.
327.
▲
by
jasim
7y ago
Linus Torvalds said something about this, in relation to microkernels. But the gist is in how interactions between many pieces makes the whole thing complex. Here's the quote from his book "Just for Fun". "The theory beh
328.
▲
by
jasim
7y ago
I feel you. When you pair program with someone you get to know each other deeply as programmers and people too. Not all of us can go into millitary to live dangerously with fellow soldiers, or participate in team sports, but as a weak subst
329.
▲
A Programmer’s Regret: Neglecting Math at University
(awalterschulze.github.io)
239 points
by
jasim
7y ago
|
119 comments
330.
▲
by
jasim
7y ago
https://medium.com/darklang/real-problems-with-functional-la...
More ›