So, you probably came here because you can’t think of what to code. Well, you came to the right place! Here I will show you some ways to get inspired.
All about me
You can make a repl all about you! Ideas:
But some people aren’t comfortable sharing information about themselves. In that case...
You can ask for inspiration! Just make a new ask post, using the following:
- The title should say that you need inspiration.
- The body should say the subject of what you want(game, tool, etc.)
Now all you have to do is wait. Once you got some good ideas, mark the one you like most as answered.
Learn a new language
You can learn a new language too! Go on learn, and search for the language. Then, start coding with what you know.
@SixBeeps and @DynamicSquid say that it’s a good idea to master a language before you do this tip.
Credit to @SixBeeps for tip
Code with a friend
Friends will almost always get good ideas! But for some people, getting a friend and making them code might be the hardest part...
Credit to @DynamicSquid for tip
Now you are ready to get inspired! If you have any other tips, tell me in the comments.
If you ever get bored and don't know what to do, it's not a bad idea to start learning another language. Heck, it might even be fun to learn one of the esoteric languages as well!
@DynamicSquid Here's how I think of it. Not being able to think of what to code means you've fully learned a language. If there's something one doesn't know how to do, a common thing among new programmers, then they should tackle that first. This post is for people that already know at least one language and are looking for something to do (at least, that's how I interpreted it.)
And, if the person is pursuing a career in code, you would actually want to diversify your palette as much as possible once you know the basics. Being a one-trick-pony would make you not as good as the person who knows Python, Java, PHP, etc.
Not being able to think of what to code means you've fully learned a language
And, if the person is pursuing a career in code, you would actually want to diversify your palette as much as possible once you know the basics
Actually not really. You would like to master a language first, and then possibly learn related languages. And besides, no job will ask you to do a task in C++, but the next day switch over to Java, but your co workers use Python.
And even still, once you mastered a language and more importantly, how to use that language effectively, learning another language is just a matter of a new syntax.
@DynamicSquid Honestly, all of this is subjective to the coder. But, I would like to point out one thing:
And besides, no job will ask you to do a task in C++, but the next day switch over to Java, but your co workers use Python
What about the world of web development? You have to write a backend in something like PHP or Python, then write the frontend in HTML+CSS+JS. Already, that's more than one language you have to deal with (given a full stack role)
Also, look at the job listings:
Job 1: We need Python coders Job 2: We need C++ coders Job 3: We need Rust coders
If you stick to just Python, you have one job applicable to you, but if you learn all of them, you have more options available to you.
What about the world of web development?
I actually consider HTML, JS, and CSS as "one" language. They are meant to be together, and you will naturally learn all three as you progress.
Also, yes, full stack developers are a thing, however, they didn't start by learning HTML one day, then switching over to PHP the other day, and learning parts of CSS, but then going back to parts of HTML. They started by learning HTML first (or at least you should), then JS, and then mastering those languages, before finally moving into Python or PHP.
But if you learn all of them, you have more options available to you
I'm not saying that you shouldn't learn another language, but you should only do it once you've mastered one language first. No job is going to hire you if you know a little bit of Python, a little bit of Java, a little bit of C++, and a little bit of Android. All the good paying jobs are only looking for people that know a language, like know a language - mastered it.
All and all, I still do believe that learning new languages (especially ones that are in a different field) is not a priority to pursue.