Y
Hacker News
new
|
ask
|
show
|
jobs
by
icholy
997 days ago
`go vet` catches this.
2 comments
mhh__
997 days ago
I use a tool called "type theory"
link
icholy
997 days ago
Keep posting about D, I'm sure it will catch on soon.
link
erik_seaberg
997 days ago
Is there a way to declare any type uncopyable? This is something I always thought Ada got right.
link
smasher164
997 days ago
you stick this in your struct
type noCopy struct{} func (*noCopy) Lock() {} func (*noCopy) Unlock() {}
link