You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In addition to growing and expanding the language, we will also be removing or reworking some existing features. We are already certain that we will be removing inheritance entirely. Additional changes are less certain, but we are considering potentially replacing or reworking features like try/catch, libraries, function pointers, type conversion, and data locations.
Compose is already designed so it doesn't use inheritance.
The Solidity team is also planning to remove or replace Solidity libraries.
From a comment from a Solidity Compiler Team member:
We’ve long been dissatisfied with libraries and planning to drop them in the transition.
For future proofing Compose and making it simpler, I am thinking about removing Solidity libraries from Compose and instead using "Compose Libraries", which are simply Solidity files which declare constants, structs and free functions. I have done some testing on this and it works fine. I am interested in feedback on this change.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
A new design goal of Compose is to future proof it against major changes to the Solidity language which are coming.
From the Solidity blog:
Compose is already designed so it doesn't use inheritance.
The Solidity team is also planning to remove or replace Solidity libraries.
From a comment from a Solidity Compiler Team member:
For future proofing Compose and making it simpler, I am thinking about removing Solidity libraries from Compose and instead using "Compose Libraries", which are simply Solidity files which declare constants, structs and free functions. I have done some testing on this and it works fine. I am interested in feedback on this change.
Beta Was this translation helpful? Give feedback.
All reactions