Skip to content

Instantly share code, notes, and snippets.

@jonwhittlestone
Last active August 15, 2019 10:46
Show Gist options
  • Save jonwhittlestone/9c4133a66b54c1ae48147b98996df836 to your computer and use it in GitHub Desktop.
Save jonwhittlestone/9c4133a66b54c1ae48147b98996df836 to your computer and use it in GitHub Desktop.
* MORE INFORMAL
- "What are you doing in Python that is exciting you / you consider 'cutting-edge' / what's interesting to you in Python a.t.m
* Do you know what a PEP is 'Zen of Python'? Favourite line from zen of Python and why?
- 'Although never is often better than *right* now.
+ Because it implies that rushing will cause problems until property digested and discussed
* Has your previous Python projects been secure? In what way have you had to optimise for security?
* Would you like to tell us anything about yourself that we haven't talked about, or isn't on your profile.
----------------------------
* What's a class for in Python? When would you use OOP over simple functional based programming in Python
- Holds data and behaviour and is a blueprint for instantiating.
- Inherits from other classes
- You'd use it if you need to inherit from other classes, a base class, class hierarchy
* How would you describe dependency injection?
- a technique to make an object, testable, reusable, and open for extension
- achieve it by referring to dependencies indirectly through abstract interfaces and by providing them in a push rather than pull fashion.
* How often in your Python code have you had the need for overloading functions and operators, any specific examples?
* Has your previous Python projects been secure? In what way have you had to optimise for security?
- 'If the implementation is hard to explain, it's a bad idea.'
+ Because it adopts the 'Explain Like I'm 5' approach where if your explanation is convuluted or contains jargon
you either haven't learned it, don't know it, or it's hard to understand
* Is Python a thread-safe language?
- https://realpython.com/intro-to-python-threading/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment