We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What I would suggest is the following
Foo
Animal
Nameable
increment()
pet()
Sound
RString
incremented
made_sound()
name
lift()
GError
environment
Environment
Bar
Cat
number
collar-color
Color
SharedRString
Name
CC @elmarco what do you think? Any suggestions for improvements or changes? :)
The text was updated successfully, but these errors were encountered:
* `number` property would become `collar-color` of type `Color` (the enum)
How about breed instead or in addition?
breed
Sorry, something went wrong.
@slomo looks good, and promising (more cleanup and improvements!)
Then let's go for that.
sdroege
No branches or pull requests
What I would suggest is the following
Foo
becomesAnimal
Nameable
increment()
vfunc becomespet()
and returns aSound
(formerRString
). E.g. cats would "purr"incremented
signal becomesmade_sound()
, see above. This can of course also happen independently of callingname
property stays and maps to theNameable
interfacelift()
vfunc that either succeeds or returns the (to be written)GError
: "too heavy", "too slippery" (e.g. a fish), "hissed", etcenvironment
read-only property of typeEnvironment
(the flags type): "house", "garden", "aquarium", whateverBar
becomesCat
number
property would becomecollar-color
of typeColor
(the enum)Nameable
can stay the same,Animal
s and other things are usually nameableRString
becomesSound
(or a better name)SharedRString
becomesName
(and is used as part ofNameable
). Names are usually used often and immutableCC @elmarco what do you think? Any suggestions for improvements or changes? :)
The text was updated successfully, but these errors were encountered: