this post was submitted on 31 Aug 2023
3 points (100.0% liked)
Programming
3 readers
1 users here now
This magazine is dedicated to discussions on programming languages, software development, and coding. Whether you are a beginner programmer or an experienced developer, this is the place for you. Here you can share your knowledge, ask questions, and engage in discussions on topics such as coding languages, software engineering, web development, and more. From the latest trends and frameworks to tips and tricks for debugging, this category covers a wide range of topics related to programming.
founded 2 years ago
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Do people still use
this
for functions? I've been in typescript for years, its all arrow functions and very few classes in our codebase. There are almost nothis
at all. Is it still comnon in js?this
is very handy when you want to carry over some shared context. Justin Fagnani describedthis
as an implicit first argument, which is a model that helped me understand how to use it better.Cool. As mentioned, I have been in a different tech for a while now, and this article is from 2011, so I was interested if people do still use it