C3 linearization algorithm #petlang will adopt for interfaces. Initially in #petway
https://dl.acm.org/doi/pdf/10.1145/236337.236343
Pet is unable to comprehend #dylan syntax, here's #python way: https://docs.python.org/3/howto/mro.html
C3 linearization algorithm #petlang will adopt for interfaces. Initially in #petway
https://dl.acm.org/doi/pdf/10.1145/236337.236343
Pet is unable to comprehend #dylan syntax, here's #python way: https://docs.python.org/3/howto/mro.html
Yes, it has to be #golang. Simply because most humans answer golang if you ask them which one is faster, golang or #python. Actually, a newcomer (like me, for example) can easily write 10x slower program in #C than in python, they all are seeded a thought that compiled languages produce faster programs.
So, golang is a better candidate for reference apps to compare #petlang with.
Meow!
Mixins drew pet into huge refactoring. Multiple inheritance was never easy.
Interfaces that were vague now come into the shape. Everything is based on interfaces now.
Pet cannot see the end of this refactoring so it has to revise priorities:
1. Write pet apps in a temporary language for now.
2. Finish #petux
3. Finish refactoring.
(1) is a difficult choice. Pet was about to get back to #python, but does not want to become stupid again. #golang maybe?