Search found 2 matches
- Sat Jun 06, 2015 1:20 am
- Forum: Plugin Development Support
- Topic: how to show name of player that you are pointing to
- Replies: 22
- Views: 26060
I can tell you that in our job (I work in Python for a living), we have all agreed that the @x.getter and @x.setter methods add to code complexity, as it attracts the eye thinking it is a decorator with additional restrictions. To be honest, we typically use @property for read-only items. You gave s...
- Mon Sep 03, 2012 12:49 am
- Forum: API Design
- Topic: Event system discussion
- Replies: 22
- Views: 88216
Please keep in mind that anyone will be able to add the event functionality later. Most people that code will know the types that they are looking for and cast them as such. This, I believe, is why Mattie opted to simply return everything as a string. It is easy enough to change the type in Python i...