Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
April 14, 2023 02:17 pm GMT

Dont Learn in a Vacuum: How Dev Communities Help Coding Newbies

Im fairly new to coding. I started last year with HTML and CSS, and right now Im learning Python. So yeah, definitely a newbie.

I have also been working in tech for more than a decade. Most of my friends are devs! And because I have so many ties to the tech world, Ive been a member of various online dev communities for a while.

And I think that this is where I have a huge advantage over pretty much every other person who is also learning to code but doesnt have that ecosystem that I have.

We dont learn well in a vacuum

Like many other species of the animal world, humans learn from each other. We learn by watching each other do things or through explaining things to each other.

Sure, some of that can be done very well through bootcamps and interactive online courses. Some people also learn well from videos or books (not me, though). I found I can get quite far with those resources, plugging away in my virtual learning environment, using the hints, googling when I get stuck. But sometimes, I hit that point where things become nebulous fuzzy.

You know, those questions that arent a clear question. The things your course materials seem to gloss over, and where googling wont get you anywhere because you dont even know how to google for it. Heck, I dont even think ChatGPT could help with this, to be honest.

Those questions that usual start with

This is probably a silly question

I came across one of those today. While I was doing some exercises from the Codecademy Python course, I came up with the following solution to a problem they had posed:

def over_budget(budget, food_bill, electricity_bill, internet_bill, rent):  if budget < food_bill + electricity_bill + internet_bill + rent:    return True  else:    return False

My code ran and passed. All good. Someone else would have rejoiced and moved on. But I scrolled down and noticed a slight difference in the solution Codecademy provided for this exercise. Their solution was the following:

def over_budget(budget, food_bill, electricity_bill, internet_bill, rent):  if (budget < food_bill + electricity_bill + internet_bill + rent):    return True  else:    return False

You might not even have noticed the difference (and you probably lead a more peaceful life than I do). But because I am a professional nitpicker Im a tech content specialist so I do a lot of copy ~nitpicking~ editing , I couldnt move past those two tiny litte parentheses in the if statement.

Those () just niggled at me. Were they necessary? Was I missing something vital here? The clause in this function wasnt complicated enough to warrant the (), I thought, but maybe I was overlooking something? Would the missing () bite me in the (|) half a year down the road?

Luckily, I have access to some great communities, so I took to Virtual Coffees #help-and-pairing channel on Slack.

Avoiding ingraining bad habits = peace of mind

I posted the two code snippets and said:

Its a minor question but I like to understand these little things as I know these are the things thatll come bite me in the ass later lol

And within literal moments, one of our more experienced Python people was there to help me out and confirm my suspicion that the parentheses were, indeed, not needed in this case. With more complicated clauses, they might become handy but they definitely werent necessary for this particular example.

And you know what? That little bit of information, knowing that I wasnt overlooking anything, brought me such peace! It sounds kind of ridiculous, but these are the incredibly helpful things that allow me to learn to code without worrying that I am learning bad habits.

A community is more than the sum of its parts

Without the access that the Virtual Coffee community gives me to developers of all kinds of levels, skill sets, and experiences, I would not have found this peace of mind so quickly.

Sure, I could have asked some friends who are devs. I do have friends who are well-versed in Python. I could have asked on Twitter or Mastodon. But the easy access to the cumulated knowledge of countless different coding languages is whats so amazing about online dev communities.

Today, it was a Python question. But tomorrow it might be something entirely different. And I will still be able to rely on the same community for help. Thats kind of awesome, if you ask me.

So whether you are a newbie coder or already more experiences, I cannot recommend joining a dev community enough. Youll come for the coding help and stay for the social hijinks and overall support. Virtual Coffee is the right community for me, but there are plenty of others out there that you can try.

And just remember, at the end of the day, there really are no silly questions, so ask away!

Tell me about your favourite dev communities in the comments!


Original Link: https://dev.to/virtualcoffee/dont-learn-in-a-vacuum-how-dev-communities-help-coding-newbies-348p

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To