3 ms·
This is a very good example of the kind of thing I see in all sorts of frameworks, where someone (often me) is trying to do something that isn’t 100% plain vani
by raganwald 15y ago
This is a very good example of the kind of thing I see in all sorts of frameworks, where someone (often me) is trying to do something that isn’t 100% plain vanilla, and TheOneTrueRightWayToDoThis isn’t obvious. Our hapless programmer thinks of something, tries it, it appears to work, and they move along. Meanwhile, it only appears to work “by coïncidence," and in reality there is a hidden bug waiting to bite.
The ideal situation is to do more research and really understand how the leaky abstraction actually works, but there is never enough time in the day and deadlines in the calendar are closer than they appear...
- fferen 15y agoHaha, this happens to me a lot when learning new libraries or frameworks. My current solution is to just search StackOverflow with what I'm trying to do. Often, the Right Way is posted as a snippet, but even if there are no directly pertinent answers, related ones can also give insight on other things I'm doing wrong.