2

Do you 'draft' your code?

I'm just really curious, as I'm not a developer; but I've been doing dev work for the last 8 months...

I just realised today, that 'drafting' my code on paper makes my workflow 10^10 times better and intuitive.
Like, just writing a rough code block with what function I'm going to use and how I'm going to form an equation, etc...

Or do you guys just jump straight ahead and start pushing out code?

Comments
  • 2
    I tend to write code the same way I write.. well, anything else.

    I work from general to specific. Break the program into chunks or components and figure out how things will connect, then write the glue and implement the details.

    As I flesh out a method I’ll look for ways to subdivide it, so methods don’t get too long.
  • 1
    I use TDD which helps quite a lot with this
Add Comment