O'Reilly logo
  • Isaac Jaime thinks this is interesting:

Many algorithms in this book are written as methods or functions that return a result. The method's declaration begins with the result's data type. If a method performs some task and doesn't return a result, it has no data type.


Cover of Essential Algorithms: A Practical Approach to Computer Algorithms


if a method perfomrs some tasj and doesnt rertun a vlue , it has no data type.