|
1 | | -A disorganized collection of TODOs, bug reports, and suggestions from friends |
| 1 | +A disorganized collection of TODOs, bug reports, and friends' suggestions |
2 | 2 | --- |
3 | 3 |
|
| 4 | +January/Feb 2010 (notes from initial release) |
| 5 | + |
4 | 6 | Ideas for programming tutorials |
5 | 7 | - Could do a track on more advanced Python concepts for people who are |
6 | 8 | already pretty comfortable with programming ... an intro to Python |
@@ -53,51 +55,14 @@ Cory McLean: 'Might be nice to be able to automatically jump to particular step |
53 | 55 | number of steps executed is significant.' |
54 | 56 |
|
55 | 57 |
|
56 | | -Maybe integrate in this snazzy code EditArea, if it doesn't look too ugly: |
57 | | - (ugh kinda cheesy tho) |
58 | | - http://www.cdolivet.com/index.php?page=editArea&sess=3a3d89b7ef37aa5f74d6d4682aeda876 |
59 | | - |
60 | | - |
61 | 58 | Related work: |
62 | 59 | - PyWhip: http://pywhip.appspot.com/ |
63 | 60 | - also powered by Google App Engine |
64 | 61 | - Crunchy: http://code.google.com/p/crunchy/ |
65 | 62 |
|
66 | | - |
67 | | -From Hubert, regarding rendering linked structures vs. using |
68 | | -containment: |
69 | | -''' |
70 | | -i totally agree with the sentiment that if you're not ever going to use it (for |
71 | | -any binding of "it"), don't add the complexity. i sympathize with the laziness |
72 | | -argument, that it's easy to do HTML tables than arrowheads, but if you change |
73 | | -your mind, consider using HTML5's canvas -- many browsers support it. |
74 | | -regarding the aliasing, from an epistemological standpoint, do you foresee that |
75 | | -you'll have to cover the difference between passing by reference vs by value? |
76 | | -this was a rather big stumbling block for me when learning Python, having come |
77 | | -from C where the different passing styles are syntactically explicit. i |
78 | | -recognize that the current visualizations don't depict argument passing, so it |
79 | | -may be moot. but one cheap trick you can explore is to "color" identical |
80 | | -objects with the same color, so that if a data structure appears in multiple |
81 | | -places, it is colored differently, if they are indeed different objects. |
82 | | -''' |
83 | | - |
84 | 63 | --- |
85 | 64 | 2010-09-05 |
86 | 65 |
|
87 | | -From an email from Peter Wentworth (p.wentworth@ru.ac.za) |
88 | | - |
89 | | -''' |
90 | | -I'd like to see the heap explicitly represented, so that mutable |
91 | | -structures like lists are created in the heap rather than "in the stack |
92 | | -frame". Passing a list as an argument then becomes "pass the |
93 | | -reference". |
94 | | - |
95 | | -I appreciate that you do have the id tags to indicate which are the |
96 | | -aliases, but I think the instructional value would be even more |
97 | | -compelling to see some pointers referencing the same underlying object. |
98 | | -''' |
99 | | - |
100 | | ---- |
101 | 66 | From Hacker News feedback: |
102 | 67 |
|
103 | 68 | - support for raw_input() sounds like something reasonable to include, |
@@ -157,3 +122,10 @@ line of code immediately below each annotation. |
157 | 122 | being MISSING (but what about if you step backwards into a 'return' |
158 | 123 | statement, though???) |
159 | 124 |
|
| 125 | +- The BACKEND can easily print out a nice list of variables in each |
| 126 | + stack frame (and globals) by order of their APPEARANCE in the original |
| 127 | + program execution ... that way, the front-end doesn't have to "guess" |
| 128 | + an optimal order and can simply use the order that the backend has |
| 129 | + pre-computed. e.g., list local stack variables by their order of |
| 130 | + definition in the original program execution. |
| 131 | + |
0 commit comments