Can you give us one example?
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
the devil is in the details
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Lumen: https://github.com/sctb/lumen It's a Lisp implemented in both Lua and JavaScript. In just 2k lines of code it has a full macro system and compiler infrastructure. It's production-grade. I still use it to this day. It's solved more problems than I can count, by not specializing.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
echo "$(</dev/stdin)"
-
in rc and descendants any argv element can be a redirection from a command block, as in e.g. % diff cmd.out <{cmd arg arg} which will exec as "diff cmd.out /dev/fd/n" (or eqivalent). it's clean and (ime) stunningly useful
End of conversation
New conversation -
-
-
What's wrong with "lambda x, y: x + y" vs. "lambda x, y: 2 if (x == 1 and y == 1) else 3 if (x == 2 and y == 1) else 4 if (x == 2 and y == 1) else ..."? Perhaps I misinterpret, but isn't the point of programming simplification by abstraction?
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
class Monad m
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Used Generics in swift for an iOS App to create easily customizable views with same list of items -> detailed item + navigation pattern that accessed different list + detail APIs and rendered list and detail views. Generics was more simpler than copy pasting same logic.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
hm. idk if this is true in general or just a quirk of mine but I usually find if a language has a proper fold operator it's almost always simpler to express whatever I need to do as "fold f" than remember there's a more specialized library function for it
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I have just such a case: automatic music transcription, simple version: about 65% accurate across a testset, specialized version, far more complex: 60% accurate across that same testset. Very frustrating, all that hard work for no gain!
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.