90 karma · joined Aug 15, 2019 (7y ago) · 112 submissions
comment 7y ago · link · parent
That's not true, Java generics are not just syntactic sugar.
> They don't add anything substantial.
They add parametric polymorphism and type safety.
> You can use Object (or another bound type) everywhere you're using generic type.
Only if you go out of your way to do so, and ignore warnings. This has less to do with how generics work in Java and more to do with the fact that Object can be explicitly cast to another type and vice versa.
> You can do exactly the same thing in Golang. Just use interface{} everywhere and add few casts where needed.
No, it's completely different.
comment 7y ago · link · parent
> The concentration of wealth and enhancement of corporate power translate automatically to decline of democracy. Research in academic political science has revealed that a large majority of voters are literally disenfranchised, in that their own representatives pay no attention to their wishes but listen to the voices of the donor class. It is furthermore well established that elections are pretty much bought: electability, hence policy, is predictable with remarkable precision from the single variable of campaign spending, both for the executive and Congress.
https://truthout.org/articles/noam-chomsky-moral-depravity-d...
Most Americans are politically disenfranchised and political decisions are often made counter to what the majority want and vote for, in favour of elite and corporate interests.
It's pretty amazing to claim corporations are signalling some kind of unity and/or support of the general public based on this PR piece, while their money, lobbying, and power are doing the exact opposite.
comment 7y ago · link · parent
Yes.
> What action would you suggest is the appropriate one to this PR move?
When these corporations put their money where their mouth is, we can start to seriously consider such statements. Until then, laughter and derision are appropriate.
comment 7y ago · link · parent
> The point of this statement is to signal to the public, that the elite are ready to give them what they want and understand that the inequality is unsustainable. They are prepared to make concessions now and it's up to the public to take them.
Corporations suddenly wanting to tackle inequality and make 'concessions to the public'? That's not a reason for this PR move, that's corporate fairytale.
> I gave a reason for the PR move. I'm curious why you think my reason is wrong?
You did not give any reason other than exactly what the architect of this PR move would expect a very gullible person to interpret this as.
comment 7y ago · link · parent
comment 7y ago · link · parent
Everything 'steals time'... watching TV, reading books, listening to music, working a job, etc.
> Life is the best teacher and recreational drugs are how you forfeit that precious, amazing, education.
Not at all. It really depends on which drugs, how you use them, etc.
> You don't have to go far to see this in action. Think of someone who is a habitual drug user and ask yourself 'are they emotionally mature?'. They aren't. They are taking an escape. Recreational drugs are antithetical to emotional growth.
I've met plenty of people who regularly use recreational drugs and who seemed wise, calm and content.
> I wasted 20 years of my life 'partying' even on a casual basis.
Cannabis is not really a party drug.
There are vast differences between various 'recreational drugs'. It's how you use them that matters.
comment 7y ago · link · parent
Types are not really at the syntax level. I would measure the complexity of a language by the complexity of it's grammar and the size of the standard library/amount of common idioms needed to write most programs in a reasonable way.