gdo...@gmail.com
unread,Dec 19, 2022, 12:12:37β―PM12/19/22You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
should be consider a function not an operator?
I'm thinking the trend to lambda functions, or no named function makes it ok to call it a function? but ok it's an operator. looks like a function, ππ€£π
<=> is cute, spaceship. lol. looks like upper and lower teeth to me and the corners of a mouth. I guess I would have called it grin.
lol, way too many versions of integers, but I get why there are, but still, way too many versions going forward. but fine. there should be a reason C++/ C programmers make the big bucks. π€π
hey and if we are going to have revisions how about adding yes and no, we now have true and false.
if ( isThisACharacter( c ) )... seem to me one would yes this is a character as opposed to true this is a character. oh well :
good grief.
if ( (isThisACharacter( c ) ) == yes ) { }
lol.
and how about ending the idea that any other value then 0 will make something true. with the addition of bool let's be strict. lol you talk about breaking some code. hey hey we need the jobs anyway. lol
we may as well dump static arrays all together.
#define is gone and I kinda liked it. well soon to be gone. π€·ββοΈ
#define yes 1
#define no 0
const int yes = 1;
const int no = 0;
--- or ---
const bool yes = true;
const bool no = false;
oh my! yes I guess one just needs to think. lol, lol
I'm reading a book on C++ and the author I think has gone a bit over board with 'declare a variable right before you need it'. to me it makes the code feel hacked. like, I'm programming while I type, so oh yeah I need this so let me stick it in. plus it, to me, makes the code harder to read. hard to get the overall thought cause he keeps pulling rabbits, variables, out of his hat, so to write. π€¦ββοΈπ memory is plentiful and cheap, relatively speaking.
π