Ok, and we both agree that a convention that can't be discussed without breaking grammar rules is stupid?
I mean really...with that convention, how am I supposed to write a title or start a sentence about "strings?"
If you insist on not breaking grammar rulesUsing strings makes better use of memory than Strings in the limited memory environment of most Arduinos.How about a discussion about an iPhone ?iPhones are far too expensive
Now in this forum, we have threads where people confuse "strings" with "string objects," and people act like saying "string" and "String" back to them is supposed to clear things up. I don't know who decided to try this experiment, but it didn't work.
There are 37.5 angels on the head of my pin.
Are they actually on the pin or are they floating ?
<...>With Arduino you have this whole layer on top of that...
Arduino is IMO a two-layer extra: the Arduino "language" abstractions and the hardware abstractions known as the "core".
<...>In order to make the same code work on different Arduinos, however, that is what they needed to do.
// https://github.com/somhi/ESP_SSD1306#ifdef __AVR__ #include <avr/pgmspace.h>#elif defined ESP8266 //Added for compatibility with ESP8266 BOARD#else #define pgm_read_byte(addr) (*(const unsigned char *)(addr))#endif
the hardware abstractions have been a bit of an annoyance
I'll call them "string" and "String" if that's how things are in Arduinoland.......SNIP....With Arduino you have this whole layer on top of that...
Heh...I hope I came across as half-serious in this thread.
The confusing usage of String and string that you are complaining about is NOT an Arduino issue - it is a C/C++ issue.You may be serious but I can't see how your interventions have been any assistance to the OP....R
my first post is quite easily the most helpful thing for the OP in this thread.
You're mixing up "Strings" with "String Objects"
In your first post you saidI find it somewhat amusing that the link you provided to explain Strings (uppercase) leads to a page headed strings (lowercase)