Skip to content

Design Considerations

Stephen M. Coakley edited this page Aug 28, 2020 · 2 revisions

This is mostly a list of open-ended questions to think about while Riptide is being designed.

Returning values vs. yielding them

Should functions return single values, or should functions "yield" a stream of values? Or both?

Numbers

The int vs float distinction I think is mostly unnecessary in the sorts of scripts that would use Riptide. To avoid the pitfalls of using floats for everything, we could consider using fixed-point numbers by default and maybe switching to floats dynamically based on usage.

Clone this wiki locally