Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
epgui
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
39 ms
·
841.
▲
by
epgui
3y ago
And yet it means very little and is a horrible proxy for what we consider “intelligence”.
842.
▲
by
epgui
3y ago
Don’t write insane things and usually you won’t get flagged.
843.
▲
by
epgui
3y ago
Reality has a well known _ bias.
844.
▲
by
epgui
3y ago
Brainwashing doesn't require a brain.
845.
▲
by
epgui
3y ago
The odds for lottery are not even within ten orders of magnitude the odds of getting a job with Haskell. It's totally doable. (We could talk about other languages too, but here we were talking about Haskell. It's a particularly in
846.
▲
by
epgui
3y ago
IMO yes, it's very much worth learning, but you have the motivation all wrong. Learning Haskell will make you a better programmer, but it won't make a job fall on your lap on its own. Learn out of curiosity, not for money. Money w
847.
▲
by
epgui
3y ago
Just because a structure or type of organization (eg.: democracy) works well at some scales or in some contexts doesn't necessarily mean it's what works best at all scales and in all contexts.
848.
▲
by
epgui
3y ago
Arrows [1] are great, not sure why you were getting downvoted on that. --- [1] https://en.wikibooks.org/wiki/Haskell/Understanding_arrows
849.
▲
by
epgui
3y ago
If your code style is what gives you the feeling of security at work… Well that’s a bit sad and I’m not convinced a linter can be blamed for anyone losing their jobs.
850.
▲
by
epgui
3y ago
Principles, not principals.
851.
▲
by
epgui
3y ago
I've never worked anywhere where java was used for anything. But I did work at a Clojure shop, and that was great. You could pick a niche language and only ever work with that, if you really wanted to.
852.
▲
by
epgui
3y ago
Well, that's partly because these languages were never designed to be functional in nature, and partly because the approach you propose is not how FP works. I'm not sure what else you'd expect?
853.
▲
by
epgui
3y ago
There is no reason to use state at all here, let alone the state of the world. In FP you just do: x + 1 Moreover, this example is totally meaningless, because it doesn't feature anything that is different about FP and the impe
854.
▲
by
epgui
3y ago
Abstractions exist in our brains. They are costly when they are unfamiliar (requiring learning) or when they are inappropriate (the product of incompetence and causing pain for everyone). Sometimes they are exactly as costly as they should
855.
▲
by
epgui
3y ago
Every language will have its gurus and its own peculiar with-the-grain approach, but the python language has a ton of non-essential complexity baked into its very design/core (especially for a language that people seem to think is &quo
856.
▲
by
epgui
3y ago
>> Functional programming that introduces or models state requires more abstraction, and then complexity. > I'm pretty sure I've said exactly that. Good thing we agree on it. I strongly disagree with the complexity part o
857.
▲
by
epgui
3y ago
> Imperative programming with state is as simple as functional programming without state. No it's not, objectively speaking. You're confusing simplicity with familiarity.
858.
▲
by
epgui
3y ago
This is true and correct, but I would add that sometimes in FP books and papers you do see authors merely writing "effects" as well. I think either would be acceptable.
859.
▲
by
epgui
3y ago
That’s right! You can consider the user input a source of randomness even if it can only take two values, like heads or tails.
860.
▲
by
epgui
3y ago
For some reason, your skepticism looks a lot like dogmatism…
861.
▲
by
epgui
3y ago
Functional programming is not some sort of mythical effect-free beast… All functional languages I know (including Haskell and Clojure) do side effects just fine, and there are plenty of different approaches for performing effectful computat
862.
▲
by
epgui
3y ago
It’s one possible reason of many. The usefulness of context depends on context.
863.
▲
by
epgui
3y ago
That's a problem, but it's a different problem. Stay relevant.
864.
▲
by
epgui
3y ago
It’s just not true that every market price is fair. There are all sorts of sources of market inefficiencies, and this is one of the reasons why governments spontaneously arise or form.
865.
▲
by
epgui
3y ago
Yes haha. I really dislike working in R but ggplot2 is great.
866.
▲
by
epgui
3y ago
To be clear, I don’t have a math background beyond a handful of undergrad classes (I studied biochem). I just really despise the anti-intellectual attitude of “YAGNI” applied to maths.
867.
▲
by
epgui
3y ago
> For the things I've programmed, I barely needed any math. I understand that countless engineers have this opinion, but really (and bluntly) all it means is that you’re unaware or ignorant of how maths applies to what you’re doing.
868.
▲
by
epgui
3y ago
That’s also how you end up with a narrow mindset and limited value-add. Exploring adjacent skills/subjects can have tremendous value!
869.
▲
by
epgui
3y ago
Just because there’s no analytical closed form solution that you can easily invent does not mean it’s a bad idea to have rules. The entire justice system works exactly like that.
870.
▲
by
epgui
3y ago
We really need to rally all the dataviz tools around a grammar of graphics (Wilkinson, 2005)
More ›