Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
skohan
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
79 ms
·
931.
▲
by
skohan
5y ago
What's wrong with unions pushing for legislation? Isn't their main role in society trying to get a better deal for workers?
932.
▲
by
skohan
5y ago
Yes it's basically the main goal of organized labor to support the best interest of workers by any means, including legislative means. How on earth else are workers supposed to get legal protections against the multi-billion dollar co
933.
▲
by
skohan
5y ago
Tell that to my friend BASIC
934.
▲
by
skohan
5y ago
At least that's what he told his wife
935.
▲
by
skohan
5y ago
What is with new programming languages with women's names? It seems a bit cringey to me, like the guy in my first-year cs classes who would name variables after his girlfriend.
936.
▲
by
skohan
5y ago
I think it's not as simple as that. Books don't have the same reward loop as the internet, so they're not "unnaturally compelling" to the same degree. To give a counter-analogy, at some point slot machines were new
937.
▲
by
skohan
5y ago
I think you're the one missing the point. If someone is spending all their time online reading scholarly articles or learning skills nobody is going to accuse them of internet addiction. That does not mean internet addiction is not r
938.
▲
by
skohan
5y ago
Of course the internet is addictive, just like slot machines and cocaine. And it should be regulated as such. Social media, just like a slot machine, or a mobile game which is engineered to rob whales of thousands of their hard earned doll
939.
▲
by
skohan
5y ago
Have you never been at a social event like a dinner or a party, where you are in a good mood and have plenty of nice people to talk to, and felt compelled to check your phone?
940.
▲
by
skohan
5y ago
Would you agree that gambling addiction is real? I would argue that internet addiction is more like that. Posting one more time to chase social media likes seems to hack the brain's reward system in a similar way as putting one more
941.
▲
by
skohan
5y ago
> People aren't feeling bad because of continuous scrolling on news and social media. People are looking for something to take their minds off whatever difficulty they are facing. It can be both right? For instance with substance a
942.
▲
by
skohan
5y ago
I think a more analogous question would be: - Is there such a thing as food addiction? Food is certainly something with a lot of utility, which we need to survive, and there is a lot of healthy food out there. But we're also ab
943.
▲
by
skohan
5y ago
Yeah I have worked fully remote and fully on-site, and both modes have issues. Also since being forced remote for a year or so, most of my colleagues are happy to be returning to in-person work on an occasional basis
944.
▲
by
skohan
5y ago
Idk I understand what you are saying, but in my experience you just end up building an intuition around what the sugar is doing, and you can de-sugar mentally to understand about what the code compiles down to. But I can understand if you&
945.
▲
by
skohan
5y ago
That's insane - I can get 10 eggs in Berlin for less than 2 euros
946.
▲
by
skohan
5y ago
This is also true in Germany, they always display the cost/kg
947.
▲
by
skohan
5y ago
In which direction was it off? For me it was about perfect
948.
▲
by
skohan
5y ago
Yeah I think there's a time and a place for ternaries, but when used correctly they're just so concise. Like if you have super long expressions in your ternaries, or you have a bunch of nested/chained ternaries it can be hard
949.
▲
by
skohan
5y ago
> Syntactic sugar is usually bad. I disagree with this one. It can be bad, but if it helps syntax get out of the way to reveal the intent of your code, I think it's pretty good
950.
▲
by
skohan
5y ago
This brings me back to the time I was in Kenya: seeing Giraffes in the wild was one of the most enchanting experiences I have had in nature. I was walking in one of the national parks, and we happened upon a young one in a clearing. When w
951.
▲
by
skohan
5y ago
Sounds like an interesting approach. I'm actually working on a language as a hobby, I've been experimenting with implicit generics and it takes you pretty far. Do you have type constraints for generic arguments in Julia? I.e. wh
952.
▲
by
skohan
5y ago
Idk my tin-hat theory is a bit different. I agree with some of it - I think TDD, reactive programming and to some extent Rust is about job security, but I think Agile and code review is all about taking code ownership away from developer
953.
▲
by
skohan
5y ago
Yes and more labor-intensive and error prone than just using a type checker
954.
▲
by
skohan
5y ago
What are the key differences? My understanding was that both languages are heavily built around message passing between objects and dynamic dispatch.
955.
▲
by
skohan
5y ago
I thought Objective-C was basically smalltalk, but maybe I'm mistaken
956.
▲
by
skohan
5y ago
At the risk of being pedantic, only machine code can execute.
957.
▲
by
skohan
5y ago
Once upon a time I was writing a lot of Objective-C, and back then I found it really cool and fun to embrace the potential of dynamic dispatch. But when I did get bit, the thing that was painful about it is that runtime failures often occu
958.
▲
by
skohan
5y ago
> There are no build time issues at all. Life in a dynamically typed world is fundamentally simpler. Yeah this is something I take huge issue with. There's always a tradeoff: less comptime issues means more runtime issues. Comptime
959.
▲
by
skohan
5y ago
Yeah this might be true of Java, but I think for modern languages with good type inference it adds a lot to readability without much cost in terms of verbosity. After working with more strongly typed languages, it actually seems crazy to
960.
▲
by
skohan
5y ago
Don't you lose a lot of the benefits of static type checking if you don't use it systemically?
More ›