Closed Apollon77 closed 5 years ago
Me personally terminate lines with ; and I mainly use === wherever possible.
As the project is under production , changing == to === might cause break. So I suggest to use === when we add a new functionality or when we change and test a function.
About the ;
, it is programmer preference, as @zabsalahid started the project without it, I respected the convention.
Hello @karianpour and @Apollon77 !
Yep, I started the project without it. I find it more clean and neat. Since javascript automatically adds semicolon if it needs to. Thanks.
Ok to both from my point of view.
In my first PR I have unified the used quotes BTW
PS: I would change "===" whereever possible without breaking thing
Happy review :-) https://github.com/zabsalahid/serialport-gsm/pull/23/
@Apollon77 reviewing.
From my point of view we could also close here ... "===" was adopten where easiely possible and the seicolons are "defined code style" same as the "two space indent" :-)
Own "thread" to disacuss about codeing style and guidelines :-) My two topics/questions would be:
What's your opinions?