DEV Community

Cover image for Top 5 DEV Comments from the Past Week
Peter Kim Frank for The DEV Team

Posted on

Top 5 DEV Comments from the Past Week

This is the second edition of a new weekly roundup which will surface awesome DEV comments that you may have missed. You are welcome and encouraged to boost posts and comments yourself using the new #bestofdev tag.

@miku86 starts things off with a quick tip in the Better console.logs thread:

Related to console.log in the Dev Tools,

we can use $ instead of document.querySelector
and $$ instead of document.querySelectorAll.

That's not related to the jQuery $.

Example:

// old
document.querySelectorAll(".myClass");

// new
$$(".myClass");
Enter fullscreen mode Exit fullscreen mode
Enter fullscreen mode Exit fullscreen mode

Enter fullscreen mode Exit fullscreen mode
</div>
Enter fullscreen mode Exit fullscreen mode

Next up we have @kayis who adds some quick thoughts regarding the 12 Things Every Junior Developer Should Learn. In short: learn "Keep it Stupid Simple" before "Don't Repeat Yourself."

KISS before DRY.

In a thread asking for Thoughts on GitHub Actions?, @kuhnerdm brings things back to GitHub's new corporate parent:

Comment Not Found

@citizen428 hops into the What types of features typically lead to lots of tech debt? discussion thread to discuss the term of "technical debt" itself:

Comment Not Found

Finally, @thecodetrane leaves a great comment in the post Developer is the next blue collar job. This discussion spanned 42 comments (so far) and the whole conversation is well worth your time.

Great article. I have said it before, and I’ll see it now: I look at myself as a “digital carpenter”.

I do not have a CS degree, have very little interest in elaborate, intricate algorithms and know enough about IT to do my job well. I got into software development because it is lucrative and job-secure.

I think the majority of the people that are getting involved in the field are like me, and as your article pointed out the need for people like me is much greater than those who spend their days contemplating optimal garbage collection or caching.

Expertise is important, don’t get me wrong, however the world needs bread-and-butter developers like me to do the grunt work.

See you next week for more great comments ✌

Oldest comments (7)

Collapse
 
peter profile image
Peter Kim Frank

Congrats @miku86 , @kayis , @kuhnerdm , @citizen428 , and @thecodetrane for making the list this week.

K 👓 takes the current record for shortest comment to ever make this list, surpassing last week's shortest comment. CC @jerodsanto and @tux0r

Collapse
 
kayis profile image
K

haha, sweet!

Yes, I'm not a person of many words.

Collapse
 
tux0r profile image
tux0r

Game's on!

Thread Thread
 
kayis profile image
K

"This can only end with one of us dead... and I never died!"

xD

Thread Thread
 
eljayadobe profile image
Eljay-Adobe

ThunderDEV ... two ENTER, only one will ESCape.

Collapse
 
jerodsanto profile image
Jerod Santo

Aww snap we have a new Comment Golf champ! Nice job, @kayis !! 👏👏👏

%{KISS before DRY.}.length # => 16

That's gonna be tough to beat...

Collapse
 
picocreator profile image
Eugene Cheah

Can someone submit ...

%{KISS before DRY}.length # => 15

🤣 the "." might be unneeded