3 ms·
This is one of the moments that i read an article and say to myself: “Those stuff needs a smarter programmer than i am” I will try to watch the video, hopefull
by yehia2amer 7y ago
This is one of the moments that i read an article and say to myself: “Those stuff needs a smarter programmer than i am”
I will try to watch the video, hopefully it is simpler to understand !
- badfrog 7y agoI've thought that many times and always been wrong. At the end of the day, code is just code. After you take the time to understand the environment it's running in, it's not that much different than anything else you could write. Creating BPF in the first place took a lot of cleverness. Figuring out how to fit it into a massive infrastructure at a place like Facebook took a lot of cleverness. But most of the people actually working on the implementations are just normal software engineers.
- throwaway2048 7y agoThere is lots of code that is difficult to understand, for anyone. What about code that proves a complex, many page mathematical theorem? What about code that does complex and very math heavy things like GCM encryption modes, or statistical compression via prediction by partial matching and arithmetic coding? Just reading the code isn't always enough, plenty of complicated code requires understanding of concepts far outside what you could hope to fit in a comment.
- badfrog 7y ago> What about code that proves a complex, many page mathematical theorem? The hard part should be understanding the theorem. If you understand that and the code is still difficult, then the code should be better written. I guess one exception is when you're optimizing for performance and make an explicit decision to sacrifice maintainability.