DP News-Robot |
29. Jan 2019 19:20 |
Caching with class variables
Recently I was extending a swiss-army-knife helper record we are using at work and I noticed a small piece of suboptimal code. At first I let it be as I couldn’t think of a simple way of improving the code – and the problem was really not so big that it should be fixed with a complicated solution. At some point, however, a simple and elegant solution appeared to me and I like it so much that I want to share it with the world ;)
Read more »[SIZE=-2]--- Published under the Creative Commons Attribution 3.0 license[/SIZE]
Weiterlesen...
|