Choosing a syntax for a new programming language is hard. You want to be similar enough to an established language to avoid scaring off users.
You still want to be sufficiently novel to be recognisable. Which languages do this well?
Playing with Claude and my new programming language has made me add features that it wants. I think they're reasonable.
`for method in methods` -- custom syntax error explaining that `method` is a reserved word
`echo 'println("hello world")' | garden` -- eval snippets from stdin
There seems to be a trend towards value-oriented programming languages. Even established statement-oriented languages are moving: Hack added ==> for values with anonymous functions, JS has fat arrows and now do syntax too.
Wilfred Hughes
Shared words: syntax, programming, language, established
Score: 62.2
Which programming languages are the easiest/hardest to google?
Go (a common word) and Rust (also a computer game) can both be tricky. Yet I've not seen 'rubylang' used to help Ruby searches.
Perhaps a novel word (Kotlin) or a misspelling (Perl) is a better choice for new languages?