Skip to content

A just for fun translation to Java of the "Water Pouring Problem" solution offered in the course 'Functional Programming Principles in Scala'

Notifications You must be signed in to change notification settings

pvm30/WaterPouringProblem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

This is a Java translation of the Scala generalized solution to the 'Pouring Water' problem offered in the course 'Functional Programming Principles in Scala'

The point is 'feeling the difference' between the two languages and somehow verifying how verbose Java can be ;-(

With the comand

mvn clean test

a JUnit test is executed solving the 'Water Jug Riddle from Die Hard 3' ;-P

http://www.math.tamu.edu/~dallen/hollywood/diehard/diehard.htm

Regards

About

A just for fun translation to Java of the "Water Pouring Problem" solution offered in the course 'Functional Programming Principles in Scala'

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages