Viewing profile — Blikkentrekker
Blikkentrekker
HN member- Joined
- Wed, Dec 09, 2020, 7:12 PM UTC
- HN karma
- 1,422
- Public activity
- 1,429 items
- HN profile
- View on Hacker News ↗
About Blikkentrekker
No profile information was provided.
Recent public activity
-
comment
Comment #48731560
It's really not clear whether Rust does it or not and it just sidesteps the issues by calling them “structs” and “enums” but fields can be private of course. Scheme Structs are rat…
-
comment
Comment #48731521
> After the dust has settled, it seems like the most valuable parts of OOP are private data, convenience (no need to repeat the class name in a method call), good fit for some doma…
-
comment
Comment #48638377
There is a general culture that one sometimes sees which treats anything related to Japan as highly remarkable. Ancient Japanese swords can literally cut through diamond like butte…
-
comment
Comment #48548400
The issue is that these functions in Lisps are variadic and can accept more arguments than one. `map`, and `zipwidth` in lisps are actually the same function.
-
comment
Comment #48530973
I feel languages should just have some kind of sugar or operator for this, in fact in Ocaml the |> operator exists where |> ( ) Are just one and the same For a variadic language yo…
-
comment
Comment #48530927
That JSON prohibits trailing commata makes it an absolute pain to work with in practice. I also like how in Haskell: something = { element , element1 , element2 , element3 } Is an …
-
comment
Comment #48530879
> It's tough to answer because you want to hedge for both an AI enthused employer and an AI hesitant employer That this doesn't have a clear and obvious answer one can expect shows…
-
comment
Comment #47707098
I think even the biggest hard drugs should be legal, again just because “people enjoy it”. I'm fine with taxing it more in subsidized single-payer healthcare systems though but I a…
-
comment
Comment #47707062
The same can be said for anything that's dangerous. In fact, one can make this argument simply for people who elect to study some field that isn't really very financially viable.
-
comment
Comment #47622123
The thing with “harmful to society” is that in practice it's so arbitrarily decided what is “harmful” and in practice it comes down more to “arbitrary moralist reactions”.
-
comment
Comment #47622086
Many dangerous things are legal simply because “people enjoy doing them” though. People die during parachuting and climbing mount everest. What's the upside really beyond “People e…
-
comment
Comment #47515147
> Every function takes one argument - a list. That's one way to look at it, but the major difference is that one can also pass a a list as one argument, as in `(f x y z)` and `(f (…
-
comment
Comment #47490137
That person obviously did not want to be at risk for legal issues from Blizzard by publhsing it though. I personally wouldn't take that risk either.
-
comment
Comment #47481672
I always felt Monads were an utterly disgusting hack that was otherwise quite practical though. It didn't feel like mathematical beauty at all to me but like a hack to fool to the …
-
comment
Comment #47481637
> Simplicity: Every function takes exactly one input and produces exactly one output. No exceptions. If you didn’t care about the input or output, you used Unit, and we made specia…
-
comment
Comment #47481573
In SML I believe. I never used SML but from how I understand it in ML all functions technically take one argument, which may be a tuple. In Haskell and Ocaml, all functions technic…
-
comment
Comment #47481488
Well, it's otherwise “free” to read the article so I guess this is how one “pays” in the end. I wonder how this works on mobile data though which is significantlym more expensive t…
-
comment
Comment #47477343
The issue is that it's a special case that acknowledges where there are cases where the indentation level it logically requires isn't what programmers find pleasant, there are many…
-
comment
Comment #47472840
That's just because most languages go by braces and have optional intendation that is just ignored by the compiler. I'd reckon that in a language where stuff is done by indentation…
-
comment
Comment #47472818
Functional hardly matters Haskell has plenty of indentation which is by the way interchangeable with `{ ... }`, one can use both at one's own pleasure and it's needed for many thin…
-
comment
Comment #47472778
I like how Haskell does it. One can do both but not mix, as in either indent or use `{ ... }`.
-
comment
Comment #47472769
The issue is that you find you very often want to break those roles. Python basically has `elif` because `else if` would make each branch nest one level deeper which isn't what one…
-
comment
Comment #47468110
> Indeed. And what many seem to fail to notice is that at it's core it's exactly the same mistake being made all over again. A mistake that I've seen so many times over and over ag…
-
comment
Comment #47466447
Yes, that, or the “Use case for ?” memes. Ebassi once got father angry at me after finding out that I did not run Polkit or a system dbus on my system and alledged that I must not …
-
comment
Comment #47453355
Well that's the issue with free software isn't it. In properitary software people work on what their boss tells them to work on which is decided by market research based on what pe…