1
Programs / Re: lancio di due dadi
« on: November 21, 2020, 07:46:24 pm »
The ideal in programming is to avoid reinventing the wheel ie. reusable code. The function returns dice total and shows just how complicated a function can be. It can also be adapted to many uses with little alteration (reused) . Which was why I brought it up in the first place. Isn't that why there are code libraries?