DEV Community

[Comment from a deleted post]
Collapse
 
heavynounours profile image
Guillaume GAGNAIRE

What is the point of this article ? It's like JS 101. Not sure the people reading dev.to is such newbie.

Collapse
 
dovakhiiin profile image
Jmungai-tech

It doesn't take much to just ignore instead of talking bad about someone's article 🥴

Collapse
 
rafipiccolo profile image
Raphael Piccolo • Edited

The deceptive part was that, by viewing generator and function in the same sentence, you would expect to see an advanced programming concept : developer.mozilla.org/fr/docs/Web/...

 
mickletine profile image
mickletine

Agreed. The phraseology is confusing in this post

Collapse
 
ezekiel8807 profile image
Ayebidun Ezekiel

It's actually for beginners sir

Collapse
 
nicolasdanelon profile image
Nicolás Danelón

please rename the post or delete it. There are a few reasons why I ask you to remove it:

  • do not use var, not even for an example
  • Generators are a thing on javascript. For asynchronous code
  • Code generation is when you run a Julia script to generate Java code. Or viceversa..
  • if you gonna creat a hash generator function please use some cryptographic library in order to avoid repetitions.
 
ezekiel8807 profile image
Ayebidun Ezekiel

I will try to update it with all your point into consideration