tokiwa-software / fuzion

The Fuzion Language Implementation
https://fuzion-lang.dev
GNU General Public License v3.0
45 stars 9 forks source link

stdlib, we should avoid returning tuple, especially in public features #3276

Open michaellilltokiwa opened 2 days ago

michaellilltokiwa commented 2 days ago

e.g.

  public cut(sep String) tuple String String bool =>

better to always create a named features like:

  public cut_result(named_feat_a, named_feat_b String, named_feat_c bool) is
  public cut(sep String) cut_result =>