Hacker News new | ask | show | jobs
by abledon 2183 days ago
grind some leetocde questions in Java. after a while it made me appreciate the explicit Type declarations and interfaces. Like, you begin to wonder, do you want to use a HashMap<> or TreeMap<> as your map implementation. Or a LinkedList or ArrayList as your implementation of List etc... I find languages that are more dynamic like js/python dont make the user think as much about this (which is great in some cases, but if your doing academic CS stuff... kind of helps in some sense)