develwoutacause’s avatardevelwoutacause’s Twitter Archive—№ 1,165

      1. Blog.byAuthor('Devel').deploy() I'm launching a blog! The first post talks about the design of #constructors in #programming languages, why they are kinda terrible, how we might redesign them, and some clever tricks we can pull off. blog.dwac.dev/posts/ctor/
        OpenGraph image for blog.dwac.dev/posts/ctor/
    1. …in reply to @develwoutacause
      I'm sure a lot of this has been said before, #Golang and #Rust already figured out most of this. But as I explored this new design of constructors I discovered a better way of writing mixins and crazy ideas like extending interfaces and dynamic inheritance.
  1. …in reply to @develwoutacause
    I'm particularly proud of the experimental library, containing some of the weirdest #TypeScript I've ever written. Frankly I'm amazed it and #JavaScript are even able to express these concepts. Can't wait to hear what y'all think! github.com/dgp1130/ctor-exp/