@@_sleepy- been writing code for like 10 years and I do that as a job for a couple years now. I love js. depends what you mean by that though. You can do a lot with it
They dont actually do anything. I code with semicolons bcs of habits but everytime my mentor for my js course comes he fixes something and doesnt use semicolons
I personally use semicolons. That's because for work, I use C# primarily. So it just keeps it consistent. But even at work I notice that when it comes to JS everyone has their own preferences with semi-colons. I come across sections that every single command has a semi-colon and others where you would never see a semi-colon outside an in-line function.
that why i love js, it can be automatic format, not like python
lol syntax is nothing compare with incomplete error handling
Anyone who loves js either is new to programming or only knows js
@@_sleepy- skill issue
@@HoangDuck666 I program in javascript for work I promise you it's terrible
@@_sleepy- been writing code for like 10 years and I do that as a job for a couple years now. I love js. depends what you mean by that though. You can do a lot with it
SEMICOLONS ARE THE BEST!
pfp checks out
Meanwhile... Java 💀
Can we use semicolon or don't??
yes
You have to
They dont actually do anything. I code with semicolons bcs of habits but everytime my mentor for my js course comes he fixes something and doesnt use semicolons
I never do. Only exceptions are inline functions that are directly called and have followup functionality. You need a semicolon there.
I personally use semicolons.
That's because for work, I use C# primarily. So it just keeps it consistent. But even at work I notice that when it comes to JS everyone has their own preferences with semi-colons.
I come across sections that every single command has a semi-colon and others where you would never see a semi-colon outside an in-line function.
The cat ABE LIKE: *Clash OF AUTOMATIC DOOR*
Coming from C, C++, Java, I just have to close my statements with a semi-colon, I don't know if it's required or not but I just do.
what about php?