My Authors
Read all threads
Are you trying to code up a tool but are not sure where to start or feel overwhelmed at how much you need to do?

Step away from your keyboard right now.

Grab a pen. Grab a piece of paper 📄🖋️

Good code starts on paper. Not on a computer.

1/5
@AcademicChatter #phdchat #coding
Ask yourself the following questions:

1) What's the ultimate goal?
2) What output do I want?
3) What input do I need?

Then write down each step you need to take to get from Input to Output.

2/5
Then think about how these steps translate to code...

Are they functions, classes? Can you start writing a bit of pseudo code to guide you?

Are your functions small enough or should you break them down further?

3/5
Finally, ask yourself how you're going to test your code.

Think about what you're going to throw at it to show it works (e.g. some input you know the answer to) and what you're going to throw at it to see what happens when it breaks (e.g. Some bogus input).

4/5
I promise that all of this preliminary work on paper and in your head saves more time than it takes 😉

Happy coding!

5/5
Missing some Tweet in this thread? You can try to force a refresh.

Enjoying this thread?

Keep Current with Dr. Héloïse Stevance 💖 💥

Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

Twitter may remove this content at anytime, convert it as a PDF, save and print for later use!

Try unrolling a thread yourself!

how to unroll video

1) Follow Thread Reader App on Twitter so you can easily mention us!

2) Go to a Twitter thread (series of Tweets by the same owner) and mention us with a keyword "unroll" @threadreaderapp unroll

You can practice here first or read more on our help page!

Follow Us on Twitter!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just three indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!