---
title: "Discussion on \"Newbie Devs, Please Stop Doing This\" | Hashnode"
description: "Discussion on \"Newbie Devs, Please Stop Doing This\". For the past few months, I have been teaching quite a few of my friends how to program and develop the web.  Here are some mistakes they have made that REALLY annoy me.\n1. Skipping Through Courses\nSo once, I sent my friend a link to a free course tha..."
url: "https://hashnode.com/posts/newbie-devs-please-stop-doing-this/6095f36f1ea29f2c341df869"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Newbie Devs, Please Stop Doing This](https://blog.orangemn6.xyz/newbie-devs-please-stop-doing-this?utm_source=hashnode&utm_medium=feed)

For the past few months, I have been teaching quite a few of my friends how to program and develop the web. Here are some mistakes they have made that REALLY annoy me. 1. Skipping Through Courses So once, I sent my friend a link to a free course tha...

May 8, 2021 · 4 min read · blog.orangemn6.xyz  
Read the article

-   [#developer](https://hashnode.com/tag/developer)
-   [#devlife](https://hashnode.com/tag/devlife)
-   [#tips](https://hashnode.com/tag/tips)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Orangemn6](https://hashnode.com/@Orangemn6)

@Orangemn6

  
[View profile](https://hashnode.com/@Orangemn6)

Web Developer and avid linux user.

## Responses 1

Markdown supported · ⌘↵ to post

[Spyros Argalias](https://hashnode.com/@sargalias)

[May 8, 2021](https://hashnode.com/posts/newbie-devs-please-stop-doing-this/6095f36f1ea29f2c341df869/comment/60966b9e1ea29f2c341dfeb9)

Great suggestions. Very important things for beginners to do :).

The only thing I disagree with are the comments in code.

Comments have the problem that they're easy to become outdated, because programmers may not update comments when they update code. They are also redundant if you use good names.

For example:

```
// Here is a function, with bad names, that needs comments

/*
    this function sends data
    a: url slug
    b: data to send
    c: optional configuration object
*/
function foo(a, b, c = {}) {
    const d = `example.com${a}`; // create absolute URL
    const e = Object.assign(c, {data}); // create new configuration object with data
    fetch(d, e); // send data
}

// Here is a good function. It doesn't need comments because the names are very descriptive
function sendData(urlSlug, data, requestConfiguration = {}) {
    const absoluteURL = `example.com${urlSlug}`;
    const configurationObject = Object.assign(requestConfiguration, {body: data});
    fetch(absoluteURL, configurationObject);
}
```

What's your opinion on this? Keep up the good work! :)

[Orangemn6](https://hashnode.com/@Orangemn6)

[May 8, 2021](https://hashnode.com/posts/newbie-devs-please-stop-doing-this/6095f36f1ea29f2c341df869/comment/60966b9e1ea29f2c341dfeb9#reply-6096dcd221068818a5c617e0)

Part of the code template is editing the comments in this case. You should add comments because even if _you_ can read it, others might not be able to.
