Recently, I’ve begun working on an EVE related project using Django. It’s my first real Python project so it is obviously slow work. I will probably end up iterating over the basic structure several times as I gain a more in-depth understanding of Django and especially Python.
Python is an interesting language, to say the least. Leaving out how jarring the switch is from a curly-bracket language like PHP, the syntax is very straight-forward. The use of named parameters in function calls is one of my favorite features of C# 4.0, so it’s refreshing to get to use those again.
Understanding the difference between lists, tuples and sets, and more importantly, when to use each type has been one challenge so far. My basic comprehension is that lists and sets are useful for dynamic collections, with the latter for slightly more efficient membership testing and array-like operations due to the unique value requirement. Tuples, on the other hand, are immutable and it is less clear to me on when they should be used. My best guess is they are generally more efficient than other sequence types at membership testing due to the immutability.
However, I am sure these ideas are completely incorrect and they will change with more experience. I am looking forward to getting familiar with Python. A lot of people rave about it, and I can see some of the allure. If for nothing else, I will expose myself to new methods of problem solving – always a plus.



Holy szihnit, this is so cool thank you.