3 ms·
> Every function is an action I disagree! This is a bad mindset that gets dispelled when you use a language that distinguishes between functions and actions. W
by wyager 10y ago
> Every function is an action
I disagree! This is a bad mindset that gets dispelled when you use a language that distinguishes between functions and actions. Writing to a database is doing something; returning the second value of a tuple isn't. There's no good reason to put a verb in the function that takes a tuple and projects out its subcomponents. "first" or "firstOf" gets the point across more concisely.