Viewing a single comment thread. View all comments

dv_ t1_iya5n0h wrote

You can do map, reduce etc. in C, albeit with a serious amount of macro trickery or function pointer usage. And yes, this does count. Is it practical? I doubt it. But it is possible.

1

ToughAd4902 t1_iyaa2lk wrote

my point that it didn't count is just that the macro will unwrap it to pure C, which doesn't have those constructs, so in terms of the language it doesn't actually support it, you're just adding a syntactic idea about it.

Though, to be fair, I guess that's all higher level languages do as well at the end of the day, so I guess my argument is kind of mute

1