2 ms·
I don't like the way in line functions hurt the readability of code. Is there anything out there that solves that issue? Also I haven't had an excuse to use it
by cincinnatus 15y ago
I don't like the way in line functions hurt the readability of code. Is there anything out there that solves that issue?
Also I haven't had an excuse to use it yet but F# seems to have great syntactic sugar for parallelizing things in a more natural way than the typical map reduce.
- dpritchett 15y agoInline anonymous functions don't have to look so funny. Here's an example in coffeescript that takes no arguments and performs a quick action: https://github.com/dpritchett/chatbox/blob/master/public/chatbox.coffee#L54 https://github.com/dpritchett/chatbox/blob/master/public/cha... Explanation: After the 500ms textbox fadeIn finishes it fires a an anonymous callback function which calls a 3000ms fadeOut.