Python Forum
conway's game of life / Single Responsibility Principle
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
conway's game of life / Single Responsibility Principle
#4
Hi Mekire/sixteenornumber,

Appreciate your input. It feels like I'm kicking a ball for the first time to learn football and Messi steps up to teach me what (not) to do.
Ok steep learning curve here…
I will
-Consider using Spyder as IDE (notepad++ now)
-Read the PEP8 style guide
-use one function-one job
-never use globals as variables (it just worked upon correcting error meassage)
-stop using semicolons ;)
-use classes (hardest one )
-use docstrings and less #
-no more import * ( in my defence, learned that from the webpage https://docs.python.org/2/library/tkinter.html )

Mekire , thanks for the function suggestions. I’ll work on those and post result here.

HCVL
Reply


Messages In This Thread
RE: conway's game of life / Single Responsibility Principle - by hanscvanleeuwen - Dec-14-2016, 09:05 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  While loop/half-life Miraclefruit 6 8,598 Mar-06-2017, 05:24 PM
Last Post: nilamo
  conway's game of life hanscvanleeuwen 17 18,158 Dec-09-2016, 04:05 PM
Last Post: hanscvanleeuwen
  Game of life using IDLE Informatics109 4 5,212 Oct-29-2016, 01:39 PM
Last Post: ichabod801

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020