thebennybox-Community / Community-Compiler

MIT License
16 stars 5 forks source link

Should we use proper names instead of abbreviations #98

Open jorolf opened 6 years ago

jorolf commented 6 years ago

Currently the string and integer types are abbreviated to str or i32. We should consider using proper names for them and for other stuff like functions or structs.

str would become string i32 would become int32

rdrpenguin04 commented 6 years ago

I think it's useful to use short names because it's quicker to type and at least these specific abbreviations are still easy to understand.

davidgarland commented 6 years ago

Seconded what Rdr said. The abbreviations are already common in languages like Rust (and even the Linux Kernel!) so I think it's plenty understandable.

jorolf commented 6 years ago

I think we established that for the "primitive types" (e.g. integers, float and string) we're using the abbreviations and for anything else we should use the full name to avoid confusion