Skip to content

Instantly share code, notes, and snippets.

@sloria
Last active December 19, 2015 04:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sloria/5895677 to your computer and use it in GitHub Desktop.
Save sloria/5895677 to your computer and use it in GitHub Desktop.
# At initiation `point` is not well-formed
point = Point()
point.x = 12
point.y = 5
# Better
point = Point(x=12, y=5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment