5 ms·
For the most part it is! I contributed to this project last year or so. The goal was to make the ports as one file runnable equivalents and not get all enterp
by jnellis 3y ago
For the most part it is! I contributed to this project last year or so. The goal was to make the ports as one file runnable equivalents and not get all enterprisey but you can see (mainly C#) that some people can't shake the habit. There was also a lot of "we need a framework for running the programs", "we need a framework for testing", and "we need a linting and style compliance" efforts.
If you don't know BASIC then you'll have a hard time following the spaghetti code that the original book has. Probably half of the BASIC programs from the original book are either actually broken, have bugs or don't work as intended. Of the people that contributed, they either included the bugs and bad logic, ported from someone else's port in another language (that included new bugs and kept the old ones) or wrote a different game entirely.
To create a truly verbatim port in as many lines as the original while fixing the original bugs (and making it readable) is quite time consuming.
- kwertyoowiyop 3y agoInteresting point that replicating all the logic of spaghetti code can take a lot more lines than the original. Still, some of the op-ified code I just read seems unnecessary.
- firesteelrain 3y agoYour Lua implementations are pretty decent. I was just learning Lua last year while reviewing your implementations.
- jnellis 3y agoMe too! Those were my first and only Lua programs actually.
- jboy55 3y agoLooking at the C# poker, it amuses me that you end up closer to Enterprise FizzBuzz(1) than the basic game. (1) https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpriseEdition https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpris...