Hacker News new | ask | show | jobs
by randomifcpfan 1183 days ago
Note the current Verse style guideline is to capitalize variables rather than types. Seems pointlessly contrary to established practice. Makes the code read like the author is shouting.
2 comments

Let me make a prediction: this is because types in Verse will be just (failable?) functions that validate values. Notice that types are lowercase.

I said failable above, but they might be some other kind of functions. They have a total effect type (functions that are guaranteed to terminate), which could be safely called by the type checker.

The target audience is less-tech-savvy game devs (paper designers, artists, narrative designers, fx, sound, etc).

They don’t have as much familiarity with camelCase or snake_case as us programmers do.

CapitalCase is friendlier to a wider audience.

This is also consistent with the typical naming convention of properties in Unreal Engine.
> CapitalCase is friendlier to a wider audience.

Only if the variable is a proper noun... otherwise it's pointlessly contrarian.