v21’s avatarv21’s Twitter Archive—№ 63,695

    1. …in reply to @lorenschmidt
      @lorenschmidt ah, actually i got a bit confused, and overstated what it can do: this will actually only define the object as fitting the interface Rectangle, not create a proper class instance. you'd need to do something like stackoverflow.com/a/49435240 to set default values
  1. …in reply to @v21
    @lorenschmidt it will yell at compiler time if you miss out any necessary properties, tho!