Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
erokar
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
121.
▲
by
erokar
7y ago
C# is certainly on the maximalist end of the spectrum. It already has classes and structs and now adds records. That's at least one, possibly two, too many in my book. But hey, some seem to prefer to have all these different ways of do
122.
▲
by
erokar
7y ago
This topic deserves a little more than a dictionary definition. There's no reason to believe self-driving cars has any more of a subjective experience, qualia, than radiators.
123.
▲
by
erokar
7y ago
This doesn't happen to every language. C# is extreme in this regard. And there are languages that are deliberately conservative about adding new features, like Go, Elixir and even Python to some extent. Though I think Go is too far on
124.
▲
by
erokar
7y ago
Highly unlikely, as we are not nearer conscious machines now than we were 100 years ago. There is nothing about computers that make them more conscious than e.g. radiators.
125.
▲
by
erokar
7y ago
This is a horrible idea. A lot of people commit suicide because of treatable depression, i.e. the wish to die is temporary and could go away with treatment. There are certainly a lot of things that could make society a better place, suggest
126.
▲
by
erokar
7y ago
Prozac is not better than other antidepressants. It's good that you didn't experience side effects, but you can't generalize from that.
127.
▲
by
erokar
7y ago
Most people will experience noticeable side effects from antidepressants for at least a week. It doesn't sound like you ever tried one honestly.
128.
▲
by
erokar
7y ago
In general, yes. The more lines of code per feature, the more bugs per feature. Also, the guarantees you get from a typed language like Java does not seem to prevent bugs to a meaningful degree. Probably things like programming culture asso
129.
▲
by
erokar
7y ago
When I said Python was simple I was talking about the concepts, functions and datatypes in the core of the language. I agree that if you include all the modules that come with Python it is a "big" language.
130.
▲
by
erokar
7y ago
No wonder, since the man behind Typescript, Anders Hejlsberg, is also the man behind C#. The goal seems to be to include as much as possible and constantly evolve the language. Some people appreciate that, others not so much.
131.
▲
by
erokar
7y ago
While there is certainly something to be said for simplicity in a language, I think Go is too extreme in this regard. What it gains in simplicity it looses in expressiveness. This leads to more lines of code per feature, and bugs in softwa
132.
▲
by
erokar
7y ago
Sorry, but this is a naive understanding of aviation safety. Have a look at "the Swiss cheese model" as a starting point to gain insight. Of course many accidents have a "pilot error" component, the central issue is what
133.
▲
by
erokar
7y ago
Meteor ( https://www.meteor.com/ ) invented its own protocol, over web sockets I think. It's an interesting proof of concept of how you can to away with the back-and-forth ceremony, but the framework has had some scaling
134.
▲
by
erokar
7y ago
Sometimes the product/context isn't very meaningful. Sometimes the company's end goal is negative. E.g: Facebook. Their employees are probably more motivated if they suppress the fact that the context/goal is to suck as
135.
▲
by
erokar
7y ago
Most things in a language are explicit design decisions. Doesn't automatically make them good decisions. Actually Python is one of my favorite programming languages, probably the language with the closest mapping to how I naturally th
136.
▲
by
erokar
7y ago
The nuisance of having to add self as parameter to every class method, no way of enforcing private methods and the mix between methods on objects and functions in the standard library. OO feels more integrated in e.g. Ruby. About some of th
137.
▲
by
erokar
7y ago
Python 3 seems like a bit of a missed opportunity. Since they were introducing breaking changes in the first place, why didn't they go bigger? E.g. make the OOP seem less tacked on, immutable data structures, clean up inconsistencies i
138.
▲
How to Implement JWT Auth with DjangoREST API
(medium.com)
1 points
by
erokar
7y ago
|
0 comments
139.
▲
by
erokar
7y ago
Sticking to the past? You talk as if JSX is the final solution in dev productivity, after which nothing else is even worthy of consideration. JSX has pros and cons, as does e.g. Vue's and Svelte's templating approaches. Something
140.
▲
by
erokar
7y ago
What is it you don't get? The parent post clearly states why this can have performance costs. Other modern frameworks like e.g. Svelte solves rendering without making templates JS.
141.
▲
by
erokar
7y ago
Yes. Rust with https://github.com/rusterlium/rustler is one popular option.
142.
▲
by
erokar
7y ago
Thanks for a thorough answer. You do make a convincing argument for Go's simplicity.
143.
▲
by
erokar
7y ago
Of all new programming languages that have received a certain amount of hype, Go is the only one I never felt inclined to play with after reading about it. It just seems too dumbed-down and backwards. It's like someone wished CS stoppe
144.
▲
by
erokar
7y ago
If your job is making you unhappy, therapy will just be a band-aid. The solution is to quit and find something better to do.
145.
▲
by
erokar
7y ago
I think her analysis is wrong in that regard. American puritanism is more to blame. French universities do not suffer from the current campus hysteria.
146.
▲
by
erokar
7y ago
The "robot economy" has certainly failed so far. People are working more than ever and it's a travesty.
147.
▲
by
erokar
7y ago
Christ, that's ridiculous. I love it.
148.
▲
by
erokar
7y ago
I'm familiar with JS' warts, which can be avoided. At the same time JS has e.g. functions as first class objects, few and simple types, object and array literals, and a prototype based OO. This makes its semantic more elegant and
149.
▲
by
erokar
7y ago
It's more than a new flavor of JS, it also supports e.g. routing and components. Some web apps ARE inherently complex. You might dislike that, but it seems unfair to criticize Imba for that fact.
150.
▲
by
erokar
7y ago
At first glance Imba reminds me of Coffescript, in a good way. A language that replaces JS' unfortunate Java-like syntax and helps reveal its simple and elegant semantics.
More ›