News for hackers. Stuff that matters.
Re:Should "Yes, delete it" be red, or green? by troym on Thursday March 27, 2014 @03:29AM (#7479061)
> Making an action undoable often more than doubles the development cost of that feature.

Every time I've added the feature, it's bordered on trivial (start a timer to execute the actual delete request, show a link to cancel the request, hide the DOM element).

I suppose if you were doing all the work server-side, then yah, it would be difficult. But the way GOOG does it (IIRC) it's not that hard at all.

Re:Should "Yes, delete it" be red, or green? by dsego on Thursday March 27, 2014 @05:06AM (#7479279)
That is cancellation then, not undo.