[Tutor] Correct use of model-view-controller design pattern

boB Stepp robertvstepp at gmail.com
Sun Jun 19 00:30:23 EDT 2016


On Sat, Jun 18, 2016 at 11:18 PM, boB Stepp <robertvstepp at gmail.com> wrote:
> On Sun, May 29, 2016 at 9:28 AM, Peter Otten <__peter__ at web.de> wrote:
>
>> Here's a commandline example with two views (the circle-drawing routine has
>> to be fixed)...
>
> I have to admit that now that I have finally gotten around to your
> code, I am left scratching my head.  My main issue is what am I aiming
> at for a final CLI display of a circle?  This is not such a simple
> thing!  First, what are the units for a circle's radius in a CLI?  If
> it is 1 radius unit = 1 character, then your code is displaying too
> many characters.  To me it seems more natural to use 1 character as
> the basic unit of measurement.  But if that is done, then the output
> looks more like a non-circular ellipse with the longer axis being
> vertical.  On my Windows PowerShell for the font I am using, each
> character space is 8 pixels wide and 14 pixels wide...

That should be "...and 14 pixels high ...".  Guess I'm sleepy!

boB


More information about the Tutor mailing list