Default avatar
Valentino Giudice
aspie96@Nostr-Check.com
npub13mjz...8hs2
Aspie96 3 months ago
The fact that there are people who are able to write in a language that uses the Latin/English alphabet but cannot write or even read cursive, or hardly can and regard cursive as "fancy" is an abomination. Some of these people also write by hand. Writing by hand in print feels rather odd.
Aspie96 3 months ago
Vibe coding is here to stay. It's the industry standard. Cry about it. How do I know? Facebook just asked me whether I wanted to se negative 21 replies to a comment.
Aspie96 3 months ago
In C, sometimes people discuss whether the * should go on the right or the left of the space when declaring a pointer. I'm of the opinion it should absolutely go on the right, as that is consistent with all other declarations in C. In C, declaration mimics use. It's true you are declaring a variable of int* type, but the declaration should be based on how that is converted to int. So: int *a; Good. This is in contrast with, for example, D, where the type, simple or not, is on the left of the variable name. Declarations do *not* mimic use. So in D I write "int* a", although both C and D accept both syntaxes. Now, C++ also has pointers, and of course I use the same syntax for declaring a pointer as I do in C. C++ also has references, which are very similar, nearly the exact same, and possibly the same at the low level, but not actually the same concept in the language. The fucking ampersand is used to declare a reference. This does not mimic use. You cannot convert an int& variable back to int by using the & operator. The use of the ampersand is inconsistent with the rest of the style of the language. So, if I use the syntax above for C/C++ pointers, with the * on the right side of the space, which should I use for references? int& a; or int &a; #programming #coding #c #cpp
↑