Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone
  • I've been musing on #OOP style.

    Uncategorized oop pascal objectpascal
    5
    0 Votes
    5 Posts
    2 Views
    @thelastpsion - I don't know Pascal, but in Python you have static and class methods which can be used for this sort of thing.Python conventions do encourage using plain methods rather than making everything a class by default though. You could maybe extract an inner module (rather than an inner class) if you had several such methods and wanted to encapsulate them from the rest of the class.

Gli ultimi otto messaggi ricevuti dalla Federazione
Post suggeriti