knowing the programming language you’re working in at a basic level is gatekeeping I’m ok with
- 0 Posts
- 3 Comments
Joined 3 years ago
Cake day: June 13th, 2023
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.
semicolons? quotes? use a formatter and don’t think about it. I think js world has basically done this already.
const is simpler. why would I declare an array as
letif I’m not reassigning? someone can look at it and know they don’t have to think about reassignment of the reference, just normal mutation. ts has the furtherreadonlyto describe the other type of mutation, don’t abuseletto mean that.const arrow over named function? gets rid of all the legacy behaviors and apis. no
arguments, consistentthis, and no hoisting or accidental reassignment. the 2 places you should ever use named fn are generator or if you actually needthis
that Google/Oracle lawsuit settled pretty clearly that apis can be copied and reimplemented freely. this is just that but automated