3 ms·
Can you not make an analyzer that raises an error if you try to pass anything but a literal-as-format string?
by jayd16 4y ago
Can you not make an analyzer that raises an error if you try to pass anything but a literal-as-format string?
- kaba0 4y agoAt that point Java is completely null-safe. But sure, static analysis and tooling is a great advantage of bigger languages.
- jayd16 4y agoWell, no, its not that simple for Java's nulls. But anyway, Roslyn Analyzers are built into the language. If you throw them away then you might as well call these new template processors off limits too.