Hacker Newsnew | past | comments | ask | show | jobs | submitlogin



I know about spans and stackalloc, I mean quite literally does the word affordance mean something technical here that I've not come across?


Affordance means that the interface of something indicates clearly how it's supposed to be used and for what purpose. This is broader term and it applies to physical stuff like door handles or knife grips too. It's intuitive enough which is probably why previous poster was confused about your question.


I've come across the term affordances before, but in this context if they'd been referred to as methods or classes or 'ways for safely mixing...' whatever I'd have got it, no problem. Calling them affordances is correct (technically they are) but made me think there was something vital (edit: perhaps .net related) I was missing. Mind at peace now, thanks all.


I don’t know what you came across and what you didn’t so I can’t answer that question.

Technically, spans support affected many parts of modern .NET, both standard library, runtime and even language.




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

Search: