Related Posts
Fuck the Python Borg, I like Singleton Better
I’ve read in parts of the web (and on the Martinelli’s Python Cookbok) that it’s better to do the Borg pattern over singletons, they say something alongs the lines of: “who cares about identity, care about shared state” Coming from the Java world, I just can’t understand that, why waste memory and cpu to address […]
NSIS: StrContains function – Find the index of a sub string.
Recently I was out of internet and I needed to implement a function that would search if a String was part of another String for an NSIS installer. Here’s my rendition of such a function. Once I came back online I found out about StrStr, but here’s another option that gives you as output the […]