Writing in javascript/typescript after years spent in c# world: this here, this there, this (and that) this this this..

  • 4
    @Ubbe wait wait, the need behind "that" or "self" variables died with es6 and arrow functions ( => operator) so at the very least 2 years ago.

    If you still get confused, you don't *have* to use oop in js nor typescript. Functional programming works just fine as well.
  • 1
    Whats worse is starting in C# or Java, going to Javascript for a few years and then going back to C#/Java

    You feel dirty for not referencing member variables by using `this`, even though you never used to to begin with
Add Comment