Sudha247 / ocaml-joy

MIT License
22 stars 14 forks source link

`render` vs `show` #85

Closed nikochiko closed 6 months ago

nikochiko commented 7 months ago

There should be only one method to render the shapes.

Currently, there are two. Some examples make use of render and others use show.

Both do the same thing. We should only keep one.

FayCarsons commented 7 months ago

I think getting rid of render in favor of show is probably the best solution. I think passing a singleton list in the case of single-shape sketches shouldn't be too confusing or complicated for beginners or children learning to code.