▲ 9 r/AskHistorians
How was Napoleon viewed in his own time?
I’m curious how Napoleon was perceived across different nations while he was active. Did opinions vary a lot depending on the country?
u/Unlucky-Moment-3366 — 5 days ago
I’m curious how Napoleon was perceived across different nations while he was active. Did opinions vary a lot depending on the country?
I keep seeing modern Java code using the new switch expressions with arrows and no fallthrough. My team still uses the old style with colons and break statements. We are on Java 17 but nobody seems to care about the newer syntax. What actual advantages does the new switch have besides looking cleaner? Does it help prevent bugs or make the code more readable in real projects? I want to convince my team to adopt newer patterns but I need solid reasons beyond it looks new. Can anyone give me concrete examples where the new switch expression saved them from a stupid mistake?