That’s the correct answer if you follow one of the conventions. There are actually two conflicting but equally valid conventions. The blog explains the full story but this math problem is really ambiguous.
Ooh now I get you, sry. True. But sadly you now know the truth and you have to be careful with the implicit multiplications on your tax forms from now on ;-)
I read the whole article. I don’t agree with the notation of the American Physical Society, but who am I to argue that? 😄
I started out thinking I knew how the order of operations worked and ended up with a broader view of the subject. Thank you for opening my mind a bit today. I will be more explicit in my notations from now on.
Thank you so much for taking the time. I’m also not convinced that APS’s notation is a very good choice but I’m neither american nor a physisist 🤣
I’d love to see how the exceptions work that the APS added, like allowing explicit multiplications on line-breaks, if they still would do the multiplication first, but I couldn’t find a single instance where somebody following the APS notation had line-break inside an expression.
I really hate the social media discussion about this. And the comments in the past teached me, there are two different ways of learning math in the world.
True, and it’s not only about learning math but that there is actually no consensus even amongst experts, about the priority of implicit multiplications (without explicit multiplication sign). In the blog post there are a lot of things that try to show why and how that’s the case.
I have my repos on Codeberg and one of the ‘disadvantages’ is that, well, it’s a non-profit, so I genuinely don’t want to waste their resources.
They ask you to only host open-source repos there, meaning that using it for backups of shitty personal projects, even if I would throw in an open-source license, is just out of the question for me.
And that has weirdly been a blessing in disguise. Like, if it’s not useful for humanity to see, do I really care to keep it around forever?
And I’ve had three projects now where I felt an obligation to push them over the finish line of actually making them a useful open-source project. Which had me iron out some of the usability shortcuts I took, made me learn a good amount of code quality stuff and of course, just feels good to complete.
Well, Codeberg is a non-profit. I would say if it’s just a few kilobytes/megabytes of code, upload it and donate $10. That should be enough to store that for decades.
I sometimes look for small stuff. Boilerplate code, how other people configure stuff that isn’t well documented, niche interest stuff even if it’s not finished. Sometimes stuff like that is useful.
That’s why I host all my shitty unfinished projects in a Gitea instance in my VPS. Now they actively cost me money and I feel (a tiny bit) more incentivized to do so something with them!
I was chatting with a friend, and she mentioned how she tries to at least set up a README, which includes her vision for the project and her plan for the implementation, design, and goals.
Best case scenario is that the planning helps her complete the project herself. Worst case scenario, someone else can pick up where she left off and use her considerations for the project.
I’m thinking of doing that for future projects too
A Free Software License is even more important. There are many great projects out there which you can’t modify etc. because the project isn’t distributed with a license (which means “all rights reserved” in most jurisdictions).
As a person who is coding adjacent (I work with basic SQL and VBA, once learned but never used HTML & CSS, learned some C+, some JavaScript…) I don’t fully understand most of the memes here, but it feels like I’m learning a bit through immersion like being a non-native speaker in a foreign land. It’s a fun ride.
Yes, but people find this interesting because historically, Microsoft was actively trying to destroy Linux (look up Halloween documents) and even said that Linux is cancer.
programming.dev
Active