DEV Community

How do you prototype or visualize code ideas?

Jason Gade on June 08, 2018

Sometimes when I'm working on an idea, I want to get that idea out of my head and into written code format, even if I never actually run it or te...
Collapse
 
sudiukil profile image
Quentin Sonrel • Edited

I usually create a git repository on my private server (I use Gitea). Depending on the project, I may either write down the idea/concept as a README or start coding a few lines immediately.

Collapse
 
nickytonline profile image
Nick Taylor • Edited

I generally create private gists to try out ideas. They're actually repositories, so I use them that way. See the thread of this tweet.

Collapse
 
tinsoldier6 profile image
Jason Gade

That is actually an awesome idea. Thanks for the tip!

Collapse
 
avikaminetzky profile image
Avi Kaminetzky

For UML diagrams:
draw.io

Create an explicit API between frontend and backend (web dev):
github.com/lord/slate

Collapse
 
tinsoldier6 profile image
Jason Gade

I'm a hobbyist or small time developer. I don't want to reduce the value of using techniques such as UML diagrams, or flow charts, or whatever, but they just don't help me visualize the usage and relationships the same way that source code does, in whatever language that I'm using.

Is Slate kind of like godoc? While I don't want to evangelize for Google's Go language, many of the tools encourage good practices such as documenting interfaces and exported functions and values.

But this is still good advice, thanks!