Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Alifatisk
· 2y ago · 0 comments
Isn’t ADT abbreviation for Abstract Data Type? Or does it depend in context nowadays?
Comments
[–]
rowanG077
2y ago
Context. It means algebraic data type here.
[–]
Jaxan
2y ago
You answered your own question: it depends and the context and is confusing imo. Both are very common in compsci
[–]
Alifatisk
OP
2y ago
No I didn’t, I provided two options and asked which case it was. I could’ve assumed OP had used the wrong abbreviation.
[–]
drycabinet
2y ago
Wait until you switch to unions in rust and ask yourself whether it is a union or a struct.
[–]
Alifatisk
OP
2y ago
Oh dear