Timeline for Super fancy list constructing in Python
Current License: CC BY-SA 4.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 22, 2019 at 13:46 | comment | added | Maarten Fabré | Why not use an Enum? | |
Apr 21, 2019 at 22:11 | comment | added | moltarze | That's a good idea, I think I'll implement that, Thanks a lot! | |
Apr 21, 2019 at 22:10 | comment | added | kubanczyk |
How about sublist and endsub
|
|
Apr 21, 2019 at 22:07 | comment | added | moltarze |
I understand your point. What do you think I should change it to? I'd like to keep it short, if possible. Maybe new_list and end_list ?
|
|
Apr 21, 2019 at 22:04 | comment | added | kubanczyk |
I understand your motive, but it's confusing to me. In OOP, array.move_down means I intend to move the array down - I would never have guessed that it starts a nested sublist. Oh, sorry... ends a sublist?
|
|
Apr 21, 2019 at 22:02 | comment | added | moltarze |
And I used array to not name-mangle with the builtin list type, because that's bad practice.
|
|
Apr 21, 2019 at 22:01 | comment | added | moltarze |
"Moving" is going up or down to the next level of array nesting (move_up from [1,0] is doing [1,0,[]] ).
|
|
Apr 21, 2019 at 22:00 | review | First posts | |||
Apr 21, 2019 at 23:05 | |||||
Apr 21, 2019 at 21:58 | history | answered | kubanczyk | CC BY-SA 4.0 |