Summary
It would be very beneficial if Verse would be extended to support computed properties. These are very crucial when it comes to API design.
Here’s a pseudocode:
some_interface := interface {
var Number: int { get set }
}
# `some_class` satisfies the `some_interface.Number` requirement
some_class<public> := class(some_interface) {
var _ImplementationDetail<private>: int = 0
# Publicly exposed computed property
var Number<public>: int = {
get { _ImplementationDetail }
# `NewValue` is implicit member of a `set` scope
set { _ImplementationDetail = NewValue }
}
}
Please select what you are reporting on:
Verse
What Type of Bug are you experiencing?
Other
Steps to Reproduce
N/A
Expected Result
N/A
Observed Result
The feature does not exist yet.
Platform(s)
UEFN