DEV Community

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

Posted on • Updated on

Top 5 DEV Comments from the Past Week

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

The why branching on git is wrong article spanned 154 comments and was a real lightning bolt of conversation and debate. @nezteb took the top spot with an opinion that seemed to be shared by many in the thread:

I disagree with most of this article, but respect that it works for you.

Any project I've ever worked on where multiple people are commiting to the same generic "development" branch results in lots of merge conflicts unless people are super careful to always pull the latest changes and merge master often. It's also difficult for audit purposes in the future because many features will be added simultaneously on every PR merge.

If anyone decides to try this, I highly recommend that you keep a changelog and follow some sort of commit message guideline.

In my experience, proper use of Git Flow, CI/CD tools, PR status checks, and merge conflict resolution as needed should take care of most of the issues you have with feature branching.

Some useful Git tooling:

@sergio shares a story in the You want HOW MANY years experience?! thread, talking about a consultant interview that took an interesting turn:

Reminds me of a funny story a coworker told me. He was interviewing someone for the position of Elixir consulting; basically we needed someone to vet certain choices we were going to make.

He's grilling this guy on Elixir and he's good, my coworker says. The meeting ends and later in the day he tells the team all about it.

Turns out he was grilling Jose Valim, Elixir's creator hahahahahaha

This is a story I'm never going to forget I still laugh about it.

The above comment was the basis for a #bestofdev thread titled Turns out language creators are pretty good at their language. That offered the opportunity for @tux0r to jump in with a similar story:

That reminds me of an older story:

Between 1969 and 1973, Ken Thompson created Unix with Dennis Ritchie. At the same time he also developed the C language. (...) Google hired Thompson to create a new language, Go. But Google also requires all of its recruits to pass a language test. According to Thompson, he hasn't quite got round to it yet - and so can't submit code.

Switching gears from language creators, @simonhaisz rolls into the Why you should reinvent the wheel discussion to add some context around the oft-repeated advice:

Maybe my experience is just different than yours, but normally when I hear/say "don't re-invent the wheel" it's not around "don't do X, it's been done" but more "you're trying to build X that needs a Y, there's already a good enough Y why not use that and focus more on making your X awesome".

If you are trying to build an app, why make your own database when there are plenty available for you to use? It's a distraction from building your app. Sure, if you want to build your own database to learn, or because you think you can build a better one, or because none of the existing ones meet your exact requirements. But if your goal is to build an app, why but focus on that?

Finally, An Organizer's Guide to Pronoun Buttons provided both valuable resources and an important discussion. @bintlopez does a great job of describing the fundamental importance of making proper accommodations for all attendees:

Names and personal connections at conferences and events are important. Are nametags and badges distracting? Are stickers and swag distracting?

If anything, it'd be super distracting to be at an event and constantly be misgendered or othered. Imagine how distracting it'd be to be at an event where people get your name wrong over and over again. Or imagine if you signed up to go to an event and the organizers didn't care enough to figure out if you had a dietary restriction -- it'd be pretty distracting to find out there's nothing you're able to eat for lunch and then scramble or go hungry for the event. Making accommodations for the people you're hosting is a key part of planning an event where people CAN focus on the subject matter at hand.

Also, if you don't care about what a person's pronouns are, why the resistance to using them?

See you next week for more great comments ✌

Top comments (11)

Collapse
 
sandordargo profile image
Sandor Dargo

Just out of curiousity, how do you pick the top 5?

Collapse
 
peter profile image
Peter Kim Frank

I start by taking a list of the comments over the previous seven days that have accrued the most ❤️reactions. However, it's not a strict descending list. I also take into account the comment's place within the broader discussion.

Without a bit of editorial oversight, for instance, something like three of the top five would have originated from the same thread, primarily because it was so popular and controversial.

Collapse
 
sandordargo profile image
Sandor Dargo

Thanks for the honest answer, transparency is always good. So technically it's more like 5 popular comments of the week. Though I understand why you don't want to just pick the top 5. I realized it when I checked the referenced comments and sometimes they are not even the most liked reactions in the given thread.

The same question goes for the "Top7" articles. What are the criteria there? It also doesn't seem like a clear descending list.

Thread Thread
 
jess profile image
Jess Lee

Hey @sandordargo ! Good question. The Top 7 is not a descending list either -- the two main factors we take into consideration are page views and community engagement. We also try to editorialize a bit so a range of topics are represented.

Thread Thread
 
sandordargo profile image
Sandor Dargo

Thanks for the explanation, Jess. Now, I won't scratch my head anymore when I don't make it to the list with an article with more reactions than some of the others. In the end, there might be ones with even more outside the weekly top 7 :D It's really good to know, that it is not a bug, but a decision.

Collapse
 
peter profile image
Peter Kim Frank

Congrats @nezteb , @sergio , @tux0r , @simonhaisz , and @bintlopez for making the list this week!

Collapse
 
sergio profile image
deleteme deleteme

Thanks @peter !

Collapse
 
joelnet profile image
JavaScript Joel

I'd like to see a Comment from the Top 5 Comments article make it into the next Top 5 Comments article!

Collapse
 
simonhaisz profile image
simonhaisz

Does Dev.to support tail-end comments?

Collapse
 
tux0r profile image
tux0r

Hooray - I made the list without many own words again!

Collapse
 
simonhaisz profile image
simonhaisz • Edited

Next achievement: ^\w+$