Could be I was not clear when I wrote performance, I am talking about High Performance Computing, where you want to spend all CPU cycles on solving your problem. While taking Amdal’s Law into account. https://en.wikipedia.org/wiki/Amdahl’s_law
Until they find out that the way to descriptive variables or functions needs to be extended with new business logic requiring renaming of functions again and again.
I think maintaining code with this level of verbose naming, will be a pain over time. If they don’t let the naming slip, and then they could as well use cryptic 3 letter names.
First of all if you solve problems that means you know enough of the subject to reason out the solution, it may not be perfect but very few solutions are.
I have been working on legacy code and maintaining old c++ code for a decade (200.000 loc) and most of the time I had to spend days debugging and reading code just to understand enough to get a possible solution, and then I still end up writing a solution that breaks in a different corner case that I never could have imagined.
So yes most of the time you feel like you don’t know anything, but over time you end up knowing a lot of how that codebase works. And after two years you must have picked up something about what you are working on.
Then you have those programming language genius colleagues, that know all the tips and tricks of a language, I use them to get ideas on solutions, because they always have an opinion on what is the “right” way of doing stuff.
That’s just my 2 cents.
I worked a lot with PHP3 and 4, they work by the “Here is a flat C style API and here’s all the functions to use.” principle, and a lot of the work was finding the needed function, and how to use it.
I know PHP5 did a lot of redesign especially with classes, but have never used it, hope PHP5+ feels more like Pythons toolbox.
If I should write a web application today, I would start looking at Python based frameworks: Django (I have used it before)/Flask/Etc. as I am not sure I would like to work with JavaScript, or have to re-learn PHP.
I couldn’t find a simple plug and play solution, so it took several tries to find the right guides, especially because raspbian have changed their Bluetooth/audio setup, so the old guides don’t work.
The solution I found uses a script/daemon that sets up the speaker and waits for Bluetooth connections.
I’ll look for the script…
Edit: found it https://github.com/fdanis-oss/pw_wp_bluetooth_rpi_speaker
I added a systemd service running as root.
I prefer the multi thread problems that can be solved using queues.