freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] Updates to Docwriter: Logging, testing, linting


From: Nikolaus Waxweiler
Subject: Re: [ft-devel] Updates to Docwriter: Logging, testing, linting
Date: Thu, 12 Jul 2018 22:52:10 +0200

> As a very general aside, I suggest you avoid doing anything other
> than assigning arguments in __init__ and instead use @classmethod
> constructors for initializing everything you need for a class.  See
> e.g. http://as.ynchrono.us/2014/12/asynchronous-object-initialization.html.
> [...]

Since I have no idea what you are talking about, I won't comment this
further :-)

It's a different way of designing classes with some benefits as explained in the article.
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]