Ranked in these QuestionsQuestion Ranking
Pro Interpreter supports defining functions
SML comes with a powerful code interpreter in which you can both define and use functions.
Con Functions can have side effects
For example, it's possible in SML to have a function that returns the sum of two numbers but which also does some printing in the middle. This makes it hard to whether a function has a side effect or whether it mutates some global state.