[Cuis-dev] feedback on simple code

Mark Volkmann r.mark.volkmann at gmail.com
Wed Jun 5 09:56:50 PDT 2024


I've been learning Smalltalk for the past week or so. I wrote some code to
compute the Collatz sequence of a given number described here:
https://en.wikipedia.org/wiki/Collatz_conjecture

I'd love it if an experienced Smalltalker could look at my implementation
and tell me what they would do differently. Here's a fileOut of my code.
It's not very long.

-- 
R. Mark Volkmann
Object Computing, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240605/21094d77/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Collatz.st
Type: application/octet-stream
Size: 1244 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240605/21094d77/attachment.obj>


More information about the Cuis-dev mailing list