Skip to content
pannous edited this page Nov 14, 2020 · 14 revisions

Bad ideas

The following ideas for the Angle language need some serious reconsideration:

Overuse of significant whitespace

ambiguity in braceless function calls:

fibonacci number = if number<2 : 0 else fibonacci number-1 + fibonacci number-2 Could easily be a read as (fibonacci number)-1, resulting in infinite recursion :(

bad patterns

Writing bad or ugly code should be discouraged systematically:

  • by making dangerous and ambiguous constructs ugly.
  • by giving compiler warnings
  • by giving compiler hints of how to transform bad code into good code

Home

Philosophy

data & code blocks

features

inventions

evaluation

keywords

iteration

tasks

examples

todo : bad ideas and open questions

⚠️ specification and progress are out of sync

Clone this wiki locally