This article makes a good point about Java's main method. Its privileged status makes it a fine starting point for reasoning about a program. However, it would be better if its signature encapsulated all the inputs to your program: not just args, but env vars and I/O streams too.https://twitter.com/adamwarski/status/963768358821859328 …
Yes, I'm considering it! Different implementations could be provided for different runtimes (well, Scala.js) but I think it would just be convention that stops people accessing environment variables through System.getenv. Or maybe a SecurityManager could help?
-
-
Days since
@propensive wrote a library ... -
Maybe a very agressive linter
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.