Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Don't forget to throw an exception on InfluencedBy.HasFlags('drugs', 'alcohol') at the beginning of the function, or you might encounter fatal errors somewhere in there.
-
@filthyranter Yes I thought about that. My database currently records more than 15 000 km (9320.5679 mile) of data and the exception never got thrown. And if it gets some day, I have a catch condition to prevent any problems.
Related Rants
$ git commit -am "Add drive function and driving_license to class Me"
$ git push
rant
driving license
achievement