nextjs-course-code icon indicating copy to clipboard operation
nextjs-course-code copied to clipboard

Arrow Functions?

Open osseonews opened this issue 3 years ago • 4 comments

Amazing course. Just curious why you always use regular functions instead of arrow functions? I know practically there isn't any difference, but just curious why you opt not to use arrow functions. Most of the code I see nowadays pretty much only uses arrow functions. Thanks.

osseonews avatar Apr 26 '21 17:04 osseonews

Yeah, I was also wondering why he didn't use arrow functions.

shareef99 avatar May 04 '21 06:05 shareef99

because for a person is new in javascript and some are not comfortable with arrow functions but the regular function is easy to understand

harsh-vish14 avatar May 11 '21 11:05 harsh-vish14

@harsh-vish14 But who? go to direct nextjs without learning javascript.

ChetanAtrawalkarCA avatar Sep 06 '21 05:09 ChetanAtrawalkarCA

@ChetanAtrawalkarCA there are some legendary people who want to learn advance without basic

harsh-vish14 avatar Sep 06 '21 08:09 harsh-vish14