Are you a Java developer looking to use the Java Virtual Machine (JVM) in different ways like Clojure? If you're looking into
Scala, then this post might be able to help you out.
Scala runs in the JVM. If you weren't aware, all of your Java code can run in Scala. Pretty awesome, right? For example, the
SendGrid JAR recently went through some major changes in order to make it more robust. You can use the old JAR as well as the new one because in the end, it all becomes bytecode for the JVM.
Let's learn a bit about the difference in syntaxes when coming from Java and using the SendGrid JAR in order to, you know, send email.
Importing the library in Java is as simple as: