Sheena O'Connell
Accepted Talks:
Hello Types
Lately there has been drive toward adding static typing to dynamically typed languages. Clojure, Javascript and Lua are some examples of this. And of course Python. Why? Because it's a damn fine idea! Having a variable and knowing what it is and how it behaves and being able to enforce that in your code is golden. In this tutorial session we'll briefly cover some of the pros and cons of Python type checking (mostly the pros to be honest) and then get our hands dirty. We'll start off with writing some fresh code and adding Type annotations as we go. We'll then cover a bit of how to add type checking to pre-existing codebases. Basic knowledge of Python. If you can run your code and you are comfortable with the syntax around variables, functions, classes and loops then you should be quite comfortable. It would also be useful if you know how to drive a virtalenvironment but this is not strictly necessary. We'll be working in both Python2 and 3. You'll need to bring a laptop with the following things installed: Most of this tutorial will be in Python3.6+: We will also cover type checking in Python2.7: You are welcome to use virtual environments or pipenv. Should be able to consistently write saner, more robust and more explicit code. Which is always a worthwhile goalIntroduction
Prerequisite skillz:
Prerequisite tech:
What we'll cover
By the end of this you...