New posts in magic-methods

Use of PHP Magic Methods __sleep and __wakeup

How to overload Python's __bool__ method? [duplicate]

Where is the Python documentation for the special methods? (__init__, __new__, __len__, ...)

Assigning (instead of defining) a __getitem__ magic method breaks indexing [duplicate]

PHP - Indirect modification of overloaded property

How does Scala's apply() method magic work?

PHP __get and __set magic methods

scala slick method I can not understand so far

How to document magic (_call and _callStatic) methods for IDEs

How does python numpy.where() work?

What is the __dict__.__dict__ attribute of a Python class?

Why does Python use 'magic methods'?

Making a python user-defined class sortable, hashable

Simple example of use of __setstate__ and __getstate__

Best practice: PHP Magic Methods __set and __get [duplicate]

__new__ method giving error object.__new__() takes exactly one argument (the type to instantiate)

Python __call__ special method practical example

Is it possible to overload Python assignment?

What is the difference between __str__ and __repr__?