3 ms·
Really it doesn’t. Sure there are some times where having source access to other projects helps, but in most cases it really doesn’t. Essentially at best it t
by olliej 8y ago
Really it doesn’t.
Sure there are some times where having source access to other projects helps, but in most cases it really doesn’t.
Essentially at best it turns “this function takes more time than I would expect” into the same thing with “... I think because of X”.
You may think “I could fix it” but again in most cases any fix will require you knowing why certain trade offs were made. Designing around internal design also means you may end up having overly complex code that continues to exist if the library changes design to improve that case. It may even become slower, or worse if your software is important enough may prevent future improvements that would benefit everyone.
So no, being open source does not magically make all bugs trivially fixable.
- gnulinux 8y ago> being open source does not magically make all bugs trivially fixable. Nobody claimed this. EDIT: What is being claimed is that buggy code being open source helps the debugging experience, which is a weaker claim than what you tried to argue against.
- brucedawson 8y agoNot easy, but I agree that it would make it easier. I would have to have stepped through the process shutdown code in a debugger, walking through the code to understand when the lock was acquired, and maybe setting breakpoints to count how often it was acquired. Then again, that would require kernel debugging and a second machine and there would be numerous logistical problems, so I might not have bothered. I spent too much time trying to reconcile the discrepancy and I ultimately failed - maybe source code would have helped.
- slededit 8y agoI used to work there and could step into windows source when a win32 function wasn't acting how I expected. The bug was almost always in my own code of course, but seeing exactly what was causing the error was extremely helpful in fixing the problem. Open sourcing (or at least public sourcing) the windows userland would make development on the platform a lot easier.
- russh 8y agoNo, not easy, just possible.