Dark modes aren't made equal. Some have proper contrast and are generally easier to look at than light modes even in proper background lighting (especially when the light version overuses various shades of gray), some are rather painful to use - and I'm not even speaking about aesthetics.
There are apps and websites where dark mode is a massive win, but when coding with colored syntax, you won't beat light background both on- and off-screen (doesn't mean I don't sometimes end up coding in a dark room using a dark terminal anyway :P)