Friday 21 July 2017

Is es6 completely useless?

Hi guys,I would like your opinion about a conversation I had with my client. I developed an API in Node.js using Express + Postgres database for Heroku, It's a simple app to allow users to write internal support tickets, nothing fancy.The client's javascript specialist gave me the following feedback:"Never use es6 classes or extends, only objects (even though I know it's syntactic sugar); never try to write a db layer, use ORMs for that."To put the icing on the cake, the client also said I'm probably the only person who uses extend in javascript.Do you guys agree with the above statements? Why not to use es6 classes if they exist?Unfortunately I can't post the code here for obvious reasons.

Submitted July 21, 2017 at 09:14PM by celicoooooooox

No comments:

Post a Comment