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
Implementing modules, functions, and types in eldritch requires a lot of boilerplate.
Boilerplate isn't necessarily bad but we're starting to have a lot of it (especially with the new eldritch-types branch). Reducing the starlark boilerplate should: improve test coverage by line, make future refactor like when updating starlark easier, and improve our code bases readability.
How can we reduce this boiler plate?
can we implement parent types like EdlritchModule, EldritchFunction, and EldritchType. These types would implement the functions required by starlark like StarlarkValue and UnpackValue in the parent type.
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
-
Implementing modules, functions, and types in eldritch requires a lot of boilerplate.
Boilerplate isn't necessarily bad but we're starting to have a lot of it (especially with the new eldritch-types branch). Reducing the starlark boilerplate should: improve test coverage by line, make future refactor like when updating starlark easier, and improve our code bases readability.
How can we reduce this boiler plate?
Beta Was this translation helpful? Give feedback.
All reactions