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 rather interesting, when you define a…
> 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 domains, and interfaces. Kay also considers…
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 butter by being folded over 1 000 times…
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.
I feel languages should just have some kind of sugar or operator for this, in fact in Ocaml the |> operator exists where <exp> |> <exp2> <exp2>(<exp>) Are just one and the same For a variadic language you'd need…
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 actually idiomatic way to deal with the…
> 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 how the issue is politics, not…
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 also feel that should be done more…
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.
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”.
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 enjoy doing it and it's their own life.”?
> 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 (list x y z)` are not the same. The…
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.
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 optimizer to not sequence out of events.
> 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 special syntax for that. Seems like a…
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 technically take one argument and just return…
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 than home network data.
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 more, that just don't have that…
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 but optional braces exist that are…
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 things. Also, famously `do { x ; y ; z }`…
I like how Haskell does it. One can do both but not mix, as in either indent or use `{ ... }`.
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 wants, except Python uses exceptions…
> 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 again, increasingly commonly in recent…
Yes, that, or the “Use case for <extremely useful and obvious thing>?” 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…
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 people want. Others said in this thread…
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 rather interesting, when you define a…
> 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 domains, and interfaces. Kay also considers…
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 butter by being folded over 1 000 times…
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.
I feel languages should just have some kind of sugar or operator for this, in fact in Ocaml the |> operator exists where <exp> |> <exp2> <exp2>(<exp>) Are just one and the same For a variadic language you'd need…
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 actually idiomatic way to deal with the…
> 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 how the issue is politics, not…
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 also feel that should be done more…
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.
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”.
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 enjoy doing it and it's their own life.”?
> 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 (list x y z)` are not the same. The…
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.
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 optimizer to not sequence out of events.
> 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 special syntax for that. Seems like a…
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 technically take one argument and just return…
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 than home network data.
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 more, that just don't have that…
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 but optional braces exist that are…
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 things. Also, famously `do { x ; y ; z }`…
I like how Haskell does it. One can do both but not mix, as in either indent or use `{ ... }`.
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 wants, except Python uses exceptions…
> 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 again, increasingly commonly in recent…
Yes, that, or the “Use case for <extremely useful and obvious thing>?” 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…
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 people want. Others said in this thread…