User talk:Hout: Difference between revisions

→‎def is too sweet: Absolutely agree - simply deference to the culture of the PEP linters
(→‎def is too sweet: Absolutely agree - simply deference to the culture of the PEP linters)
Line 274:
So writing def n(g)=return lambda g:.... is a bit silly. I've changed # enumFromTo :: Int -> Int -> [Int]
to 'enumFromTo=lambda m: lambda n: list(range(m,1+n))' in McNuggets to see if you agree--[[User:Nigel Galloway|Nigel Galloway]] ([[User talk:Nigel Galloway|talk]]) 12:55, 2 February 2019 (UTC)
 
:: I absolutely agree. The '''def'''s are only there in deference to the PEP linters, which get puzzled and heresiological when names are bound directly to lambdas (as they clearly should be).
:: I've been deferring in this way to the linters in search of middle ground, and in the hope of averting pietist and deletionary attention (now incipiently resurgent I notice) [[User:Hout|Hout]] ([[User talk:Hout|talk]]) 14:19, 2 February 2019 (UTC)
9,655

edits