Okay, no answer to my question.
As a retired development manager: What's your opinion about
https://forum.pjrc.com/index.php?threads/happy-little-incident-3.78116/ ?
Keep in mind,Arduino is for beginners.
I'll chime in here, and if you take this as some sort of personal attack, that's on you.
This specific example quoted is purely nonsensical.
Why would anyone ever write such a construct & expect it to work in any useful way ?? Shame on any code writer who does such a thing, & even more shame on them if they then blame either the tools or the language for their mistake. There's an old saying that goes something like this: "with great power comes great responsibility" (attributed to multiple sources, in many variations). The C language provides the code writer with immense power, and the corresponding responsibility falls squarely on that same code writer to use that power responsibly (substitute "correctly" here instead of "responsibly" if you'd like).
There are an infinite number of ways to write a line of C that causes improper use of a multitude of its features. The professor that taught the class where I was first introduced specifically to the C language at the university where I attended was well known for saying "the computer does exactly what you tell it to do, nothing more, nothing less, regardless of whether it was what you intended or not" & "the C language & its capabilities, together give you plenty of rope to hang yourself". I spend my time, to the best of my ability, writing code that gets the job done (you may find earlier posts of mine where I admit that, unlike what I previously did at work, I may not write the "best" code for my hobby work, & I think you even insinuated that I wrote & delivered questionable code in a prior post as part of that
<previous thread>, shortly after you started posting under the
@Mcu32 identity instead of your previous @FrankB identity on this forum).
I, for one, greatly appreciate both the capabilities provided in the Teensy family of products, and the reliability of those same products. Nothing is ever flawless & some things are always going to be better than others. All of my Teensy usages are strictly for my personal enjoyment, but if I were so inclined, I would have no hesitation to base any commercial products that I might create on the Teensy.
Your stated (paraphrasing) "attempts to help make Teensy better" smell very much like the same sort of bitching that you were doing back in the referenced thread from September of 2021. If you truly wanted to help, you would likely do the following:
Code:
1) find & report real examples of real problems (not broad umbrellas of potential problems, real or contrived)
2) follow the method of bug reporting posted earlier, which was excellently laid out
3) post a complete & concise description of the problem
4) post a complete & correct solution to the problem (or create a PR, if that is the preferred method)
5) then silently sit back & wait for the solution to be picked up & incorporated
I'm not ignoring that you are in the company of other examples of PR contributors who get very frustrated with the (slow) rate at which updates/fixes/additions actually make their way into the Teensy core, and that frustration is completely understandable. But your choice to continue to repeatedly pollute this forum with trivial and/or nonsensical examples (you can't really think that you're likely to either 1) get any respect, or 2) get any kind of a positive response when you title your posts "happy little examples") is non-productive at best, & wasteful of both your time & that of others (as well as the resources that you are needlessly consuming, e.g. forum space & bandwidth), at worst.
Give it a break !! Exactly what changes came out of your bitching last time ?? Do you really expect anything different this time with the same kind of approach ?? What do you really expect to be the outcome, or is it just that time of the year where you come back here to complain...again ??
Mark J Culross
KD5RXT