I've tweeted this before, but since it doesn't get nearly enough attention, here's how debugging should work: https://www.youtube.com/watch?v=X80EdpI9z1Y ….
-
-
@patrickc Debugging purely functional code is qualitatively better. Possibly hard to make Stripe code functional though. -
@paulg Yeah, definitely eliminates a class of issues. But even with functional code, intermediate values may not be what you expect, etc. - 1 more reply
New conversation -
-
-
@patrickc@elmlang also has a time-traveling debugger built by a single person. It's a great concept. http://debug.elm-lang.org/ -
@jamesreggio@BrianTRice@patrickc@elmlang you do know record & replay is an entire research field with *many* implementations, right? ;-) - 1 more reply
New conversation -
-
-
@patrickc try unit testing instead :)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.