Timeline for Design pattern for a function class
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 17, 2020 at 6:57 | comment | added | Steve | Btw @user32882, fwiw, I can't see why your questions (including the one linked to, which was closed by force) have attracted such a torrent of downvotes. As I say though, beware the differences between mathematicians and programmers - the link you gave at the top is a prime example of something written by a mathematician. Amongst other things, programmers differ firstly by their understanding of terminology, secondly by their notation (which is tailored to the benefits and limitations of computers and standard keyboards), and thirdly by their concern for executability. | |
Mar 17, 2020 at 6:35 | comment | added | Steve | @user32882, I'm not a Python user myself, so I'd struggle to provide any code off the cuff. If it has lambda functions, then Filip's answer above is a good alternative. If it has partial application (and it appears that it does), then you'd really be cooking on gas: learnpython.org/en/Partial_functions | |
Mar 17, 2020 at 5:20 | comment | added | user32882 | Could you provide an example of what you mean? Some code perhaps? | |
Mar 16, 2020 at 20:09 | history | answered | Steve | CC BY-SA 4.0 |