3 ms·
I'd argue what is being done with smart cities could be done with smart code bases. For instance: any language's core library has functions that almost nobody u
by mzakefnazkmen 7y ago
I'd argue what is being done with smart cities could be done with smart code bases.
For instance: any language's core library has functions that almost nobody uses. That would change if we had a measure of how frequently these functions are used, starting with why we write these functions in the first place: as I see it, this would lead to a more experiment-driven fashion of writing code, instead of idealising the use of these functions as we do nowadays.
- reilly3000 7y agoTeams use tracing for that now. I imagine that some of that data could be extracted and made more generally available, even shared among users of oss libraries.
- IfOnlyYouKnew 7y agoThat does happen. Ruby 2.7 was going to remove something called the swip-swap operator (or similar), which was thought to be essentially unused. That plan was shelved after a search of GitHub turned a few examples of usage in the wild.
- Twisol 7y agoThe flip-flop operator, I think: https://nithinbekal.com/posts/ruby-flip-flop/ https://nithinbekal.com/posts/ruby-flip-flop/