Refactoring, code smells and more snippets in Python and Javascript