logoalt Hacker News

porridgeraisinyesterday at 11:27 AM1 replyview on HN

Oh come on, you don't have to be condescending about function calls.

https://news.ycombinator.com/item?id=47260385


Replies

Sharlinyesterday at 11:47 AM

I was talking about libraries, higher-level units of reuse than individual functions. And your "syntactic" vs "semantic" reuse makes zero sense. Functions are literally written and invoked for their semantics – what they make happen. "Syntactic reuse" would be macros if anything, and indeed macros are very good at reducing boilerplate.

You might have a more compelling argument if instead of syntax and semantics you contrasted semantics and pragmatics.

show 1 reply