Live data from Hacker News

Research Based on the .NET Runtime (2019)

mattwarren.org

11–13 of 13 posts

Re: Research Based on the .NET Runtime (2019)

#11
post #7

Earlier quoted context omitted.

On technical side, I think GP meant stuff like this https://docs.microsoft.com/en-us/dotnet/api/system.span-1.-c... And this: https://docs.microsoft.com/en-us/dotnet/csharp/language-refe...

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.

Re: Research Based on the .NET Runtime (2019)

#12

Earlier quoted context omitted.

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.
Post reply on HN