Honestly, I strongly disagree with this not throwing an error.
Splitting equations in multiple lines and starting each line with a + or - is so prevalent (eg. see almost any long equation in a paper) that it should throw an error if it is done
Imo the fact that writing a long equation in julia in the most logical way (starting with + or -) is a silent bug is very wrong.
âYour editor should see thisâ is noncence imo because afaik julia doesnât care about indentation (you can write the inner part of a function on the same indentation as the outer part). My editor doesnât warn me here.
âYou shouldnât write such long equations anywayâ is also noncence imo because long equations are something naturally happening in for example dynamic equations of physical systems. Why should they be avoided? Atleast an error should be thrown when it is done wrongly.
(not trying to diss here on julia, I strongly love julia)
No, Juno is in maintenance mode. This is technically valid code⌠and I tried it in VS Code. It has a linter, I think (enabled by default?), and seems it would be an excellent addition to it. Rather file an an issue at VS Code and/or (its?) linter? Link many other sections, the one on it in the docs is empty: