OCaml vs. Java in teaching

Can we compare programming languages? Can we ever say that subject to some criteria one language is better  than the alternatives? Very hard…

Similar

Get the Mean of an Array in Java

The challenge It’s the academic year’s end, fateful moment of your school report. The averages must be calculated. All the students come to you and entreat you to calculate their average for them. Easy ! You just need to write a script. Return the average... (more…)

Read more »

Scripting Java with a JBang

JBang provides a way of running Java code as a script, similar to JShell. However, unlike JShell, JBang works great on Java 8 and can be used to automatically download dependent libraries as well. In fact, JBang can even run without Java being installed -... (more…)

Read more »