Learn to Code via Tutorials on Repl.it!

← Back to all posts
How to get inspiration for code
[deleted]

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:

  • Biography
  • Game

But some people aren’t comfortable sharing information about themselves. In that case...

Ask

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.

Commentshotnewtop
DynamicSquid (1059)

@CodeABC123 Here's a tip: Try coding with a friend!

[deleted]

Great tip! Added that! @DynamicSquid

DynamicSquid (1059)

@CodeABC123

getting a friend might be the hardest part...

xD!

However it's not getting friends that I find hard, but making sure that your friends actually code. Literally 0 people at my school do the code I do :(

[deleted]

:( indeed. @DynamicSquid

Giothecoder (126)

@DynamicSquid this is what repl.it is for lol. Make friends here

WilliamB (7)

@DynamicSquid Step 1: Make a friend
No one ever got past step 1

bgrubert (128)

@WilliamB You can also post that you would like to collaborate on a repl and someone might accept

SixBeeps (1965)

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!

[deleted]

Good tip! I’m going to add that to the tutorial. @SixBeeps

DynamicSquid (1059)

@SixBeeps Really? I guess if you're just coding as a small hobby, then sure, try another language out. But that is the worst advice for a beginner who wants to pursue a career in code.

SixBeeps (1965)

@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.

DynamicSquid (1059)

@SixBeeps

Not being able to think of what to code means you've fully learned a language

What?

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.

SixBeeps (1965)

@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.

DynamicSquid (1059)

@SixBeeps

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.

SixBeeps (1965)

@DynamicSquid Okay, I can agree with that :)

[deleted]

@DynamicSquid & @SixBeeps So, do I delete that tip or what?

SixBeeps (1965)

@CodeABC123 I'd say edit it so that it only applies to people who already have mastered a language.

[deleted]

Done! @SixBeeps

JordanDixon1 (301)

Here's a tip: Write a program with a list of ideas for programs, whether big projects or small.

MichaelPacia (0)

I'm looking forward for the folks tips on this. Newbie here, tired of creating graphs in Excel and Powerpoint and dreaming to create my own data visualization tool :D

[deleted]

Cool! Happy coding! :)@MichaelPacia

LiamDonohue (273)

i have a tip:
look in the ask section. there is some very useful information in the answers of people questions.
AND REMEMBER: TEACHING IS THE BEST WAY TO LEARN

[deleted]

Yeah, but that’s why we’re here at repl.it, right? Why would you be coding here if you don’t know how to code? Makes no sense. @LiamDonohue

LiamDonohue (273)

honestly, I cant argue lol @CodeABC123

LiamDonohue (273)

best way to find inspiration is to look at other people's code @CodeABC123

LiamDonohue (273)

also a add on to learning to code is to use khan academy i learned html in a week @CodeABC123

Bouya123 (0)

i wanna get good in java and potentially make a game, im a novice at best

LiamDonohue (273)

warning: java is one of the hardest languages to master @Bouya123

komborerongorim (0)

I AM REALLY JUST A NOVICE WHEN IT COMES TO PROGRAMMING

[deleted]

OK... Just hope this tutorial helps. @komborerongorim