Timeline for python wordgame solver in 270 lines
Current License: CC BY-SA 4.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 21, 2021 at 17:29 | history | edited | Peilonrayz♦ | CC BY-SA 4.0 | Fix error mentioned by Setris |
| May 23, 2021 at 21:12 | comment | added | Peilonrayz♦ | @TomL "i've never completely understood the variable type syntax you have" is ok. I've only used type hints to make the code easier for me to write, feel free to ignore anything typing related. SRP is paradigm independent (has nothing to do with OOP). Single Responsibility Principle just says a single unit of code (a class, function, method, etc.) should have one responsibility. Contrast build_wordlists (which builds two different datatypes) and how the method's I've written only do one task, where the consumer of Words tells the class how to behave for your business goals. | |
| May 23, 2021 at 19:31 | comment | added | Tom L | Apparently enter finishes the comment... anyway, i've never completely understood the variable type syntax you have, though i've seen it in popups while using pycharm... good to know that that's an actual thing, and i can see where that'd be useful instead of the occasional comment 'this is how this variable is structured'. You mentioned SRP, which I understand is part of OOP in general, but I've yet to find a good resource that i grok how to explain what should be in which classes, and where they go in a hierarchy. More reading I suppose. | |
| May 23, 2021 at 19:28 | comment | added | Tom L | Thank you for taking the time to write all that out! some of it makes sense, and some of it makes my head spin. | |
| May 22, 2021 at 15:55 | history | answered | Peilonrayz♦ | CC BY-SA 4.0 |