DEV Community

Best Practices in JavaScript Development

Sh Raj on July 16, 2024

Best Practices in JavaScript Development JavaScript is one of the most widely used programming languages, powering millions of websites ...
Collapse
 
hexagon profile image
Info Comment hidden by post author - thread only accessible via permalink
Faulty Rocket

This looks like it was generated by ChatGPT πŸ€“

Collapse
 
sh20raj profile image
Sh Raj

Of course Why Anyone Write this much 🀑

Collapse
 
syeo66 profile image
Red Ochsenbein (he/him)

Because if you don't write this much you don't add value. Also: you should mention if an article has been AI generated by dev.to's guidlines.

Thread Thread
 
sh20raj profile image
Sh Raj

It's quite illogical, even Google adsense also says that it doesn't mean whenever you are writing with ai or pressing the keyboard after writing an essay on copy for 10 long hours for an article, the article should be of quality that matters. Btw You are free for reporting πŸ‘ go ahead πŸ‘

Collapse
 
abhidatta0 profile image
Abhirup Datta

there are existing articles in this platform which says similar things in Javascript.I don't think writing this was really necessary

Thread Thread
 
sh20raj profile image
Sh Raj

I don't think you should read this article

Collapse
 
syeo66 profile image
Red Ochsenbein (he/him)

Funny thing is: Arrow function definitions are actually longer:

const add = (a, b) => {
Enter fullscreen mode Exit fullscreen mode
function add(a, b) {
Enter fullscreen mode Exit fullscreen mode
Collapse
 
levi_31d546c9fd4deae542a2 profile image
Levi

apply

Collapse
 
jaweriazaman profile image
Jaweria Zaman

I don't understand the debounce and throttling and Dom manipulation concept used in javascript. If someone here can help me with that. It will be so nice.
however the article is so informative.

Collapse
 
a_m_h_gad profile image
Jad

You can read this article, I think it might help

dev.to/fidalmathew/throttling-vs-d....

Collapse
 
sachinabs profile image
Anish Bala Sachin

Thanks for sharing.

Collapse
 
anakut profile image
muh ali

omg raj, this post enlight me. thank you

Collapse
 
teles profile image
Teles

Awesome article for JavaScript developers. The emphasis on clean, readable code and avoiding nested code, much like the Zen of Python, is particularly valuable. Highly recommended!

Collapse
 
shahbaz_ahmadkhan_b81f9e profile image
shahbaz ahmad khan

Some comments have been hidden by the post's author - find out more