[DiscordArchive] Wouldn't you feasibly be able to fuck with a class at runtime then?
[DiscordArchive] Wouldn't you feasibly be able to fuck with a class at runtime then?
Archived author: Kavligula • Posted: 2018-06-03T20:38:47.075000+00:00
Original source
Wouldn't you feasibly be able to fuck with a class at runtime then?
Archived author: Skarn • Posted: 2018-06-03T20:38:54.888000+00:00
Original source
You can
Archived author: Kavligula • Posted: 2018-06-03T20:38:57.176000+00:00
Original source
Like modify the declaration of a class later on in the code?
Archived author: Kavligula • Posted: 2018-06-03T20:39:03.603000+00:00
Original source
I have no idea how they manage not to fuck that up, then
Archived author: Kavligula • Posted: 2018-06-03T20:39:06.328000+00:00
Original source
Python's p powerful
Archived author: Skarn • Posted: 2018-06-03T20:39:08.325000+00:00
Original source
You can even appen methods to it in runtime I think
Archived author: Skarn • Posted: 2018-06-03T20:40:01.610000+00:00
Original source
what's weird, metaclass is not an abstraction either! If you define a metaclass, it can have its own metaclass. After the meta part is getting resolved for it, it will be inherited from type and become a metaclass itself.
Archived author: Kavligula • Posted: 2018-06-03T20:40:33.276000+00:00
Original source
Shit like that is why I think OOP is annoying
Archived author: Kavligula • Posted: 2018-06-03T20:40:37.084000+00:00
Original source
It's necessary, don't get me wrong
Archived author: Skarn • Posted: 2018-06-03T20:40:39.031000+00:00
Original source
That all costs insane amount of performance and that is why python is one of the slowest languages.