Hacker Newsnew | past | comments | ask | show | jobs | submit | saturn_vk's commentslogin

Heroin sucks, but if you child is addicted to the needle, take the needle away.


This is a fundamentally wrong approach.

Let AI replace jobs. Start taxing companies that use AI proportionally to their usage, and then distribute the proceedings to the people.


Did you read the article?


Go has an official package search at https://pkg.go.dev/

There’s no poking, unless you are into that sort of thing


Absolutely. If you’ve never used Java or Go


vtables still need types, and a generic method that is not yet instantiated will not have them


That’s composition, and it’s not really the same as inheritance


I’ve written generic code once or twice per year. Usage through libraries is higher, though it’s not very visible.


Some people do like it though


That's been a major success


It basically revolutionized the entire industry and thank god.

Opinionated standard formatting is now the default.



Those are integrated in the compiler and don't need a second tool to work.

Also, AFAIK, they only leverage standard language behaviour and are not a hardcoded special case.


Nearly everything in that module relies on at least some hardcoded compiler magic (what Rust calls "language items", with a `#[lang = "..."]` attribute on the definition). The only exception is `Send`—and even that is still an auto trait, which on stable Rust can only be defined by the standard library. (There are plans to also remove the lang-item status from `Unpin`.)


Fair point, I was only looking at the structs, not the traits.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: