Comments by "Anony Mousse" (@anon_y_mousse) on "NativLang"
channel.
-
5
-
As a programmer this is one of the things that bothers me when coming up with names for functions. Since I mostly use C, I tend towards an OVS ordering, but when I write C++ I prefer SV with no need to describe O as it's implicit. However, there are times when I need two O's or two S's and that can really complicate the naming conventions. For instance, say I have an arbitrary precision integer type that I simply named Integer, capital 'i', and I have a string type named String, and let's say that I wish to concatenate two subjects of each type of object. Obviously requiring either type to have a dependency on the other is a no go, but how then does one word it, StringAppendInteger or IntegerAppendString, and what order should they go in when calling the functions. This is obviously a simplistic example, but other more complex ones exist.
4
-
4
-
2
-
1