Giter VIP home page Giter VIP logo

Comments (16)

Armax avatar Armax commented on July 18, 2024 2

As we said tons of times, we prefer the old style callbacks and ES5, there are a lot of libs out there that don't use ES5, do you want ES6? just make your ES6 version, but instead of spamming under our issue maybe you should start crediting all the work that you copy pasted

from pokemon-go-node-api.

space87 avatar space87 commented on July 18, 2024 2

I agree armax. Im dont mind either one still not confortable on es6 fully yet. Think your doing a great job so far and some of thw guys working on s2 report has done amazing. I agree you go with whats comfortable only thing i would say is just dont pr the stuff as you aceptex thw pull request of es6 stuff next time just dont acept ☺

from pokemon-go-node-api.

Armax avatar Armax commented on July 18, 2024 1

Still trying to understand why you need to create an other repo just for ES6 when for the end user there aren't any changes, but ok

from pokemon-go-node-api.

Armax avatar Armax commented on July 18, 2024 1

@jimmywarting seriously why we should use ES6 if we are not comfortable with it and we prefer the old one, atm there are no differences in perfomance and I think is faster to read

from pokemon-go-node-api.

gallexme avatar gallexme commented on July 18, 2024

#51 I dont think that this one is Related
its just that the bignum maintainer does not provide for all node/os versions a pre compiled binary

Also @Armax stated that he is against ES6 and its syntactic sugar(#30 #48)

from pokemon-go-node-api.

Josebaseba avatar Josebaseba commented on July 18, 2024

We should respect the author's opinion. If they feel more confortable with es5, let's go with that. As the users of the package, what to we earn with es6? Nothing really, and if we want contribute the code right now is really easy to understand.

Btw, since they move to es6, appeared more and more issues related with the topic, and that doesn't help.

from pokemon-go-node-api.

Bart-0110 avatar Bart-0110 commented on July 18, 2024

#45 has isn't an ES6 problem. Even if we keep using es5 you should upgrade to node >5 because node 4 has horrible dependencies support. Requirements in requirements in requirements, this leads to map problems in windows. Node >5 doesn't do that. It has a more efficient system to pull in the requirements.

from pokemon-go-node-api.

jimmywarting avatar jimmywarting commented on July 18, 2024

Still trying to understand why you need to create an other repo just for ES6 when for the end user there aren't any changes, but ok

@Armax you are against ES6 and its syntactic sugar (#24 #30 #48)

some prefer to work with es6

from pokemon-go-node-api.

st0ffern avatar st0ffern commented on July 18, 2024

@Armax if it is faster to read so keep doing ES5 ;)

from pokemon-go-node-api.

gallexme avatar gallexme commented on July 18, 2024

@Armax actually im not sure that most people are comfortable without es6,
me personally only learned es6+ as every lib/framework I use usese es6+ features/ is written in es6
but im also fine with es5

from pokemon-go-node-api.

Armax avatar Armax commented on July 18, 2024

also there aren't differences for the end user, It's just for the devs behind the project, so why should we use it if we don't want to, you have been spamming ES6 in our issue for days, you have been spamming your repo that is a copy paste from us and other pokemon go projects (before saying "you are a tejado clone" we know him and he is in the readme). ES6 or ES5 matter only for contributors and no one is forced to contribute

from pokemon-go-node-api.

gallexme avatar gallexme commented on July 18, 2024

ES6 or not has differences For Endusers(API users(devs))
or who do you target with your API ?
if u have Callbacks or Promises or generators, classes etc is a difference

from pokemon-go-node-api.

jimmywarting avatar jimmywarting commented on July 18, 2024

Don't use promises for instance... resulting in not being able to use async/await or coroutine/co/spawn

from pokemon-go-node-api.

st0ffern avatar st0ffern commented on July 18, 2024
doSomething('withMe')
.then(res => JSON.parse(res))
.then(json => json.subbie)
.then(res => console.log(res))
.catch(err => console.log('uuuups! we got an error'))

that beats the hell out of callback hell

from pokemon-go-node-api.

andnp avatar andnp commented on July 18, 2024

The one advantage of es6 is that it helps avoid a few variable scoping issues. PR #81 added a few bugs because they were relying on a variable outside of it's scope. There were no useful warnings because old javascript allows this.

That being said, I'll change my PR to not use es6 if that is the author's wishes.

from pokemon-go-node-api.

st0ffern avatar st0ffern commented on July 18, 2024

@andnp if you are into ES6, then there is a repo here https://github.com/stoffern/pokemon-go-api

from pokemon-go-node-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.