| 1 |
commit 319dadee0711649044086f11c1e141d1d8786b7c |
| 2 |
Author: Daniel Pope <[email protected]> |
| 3 |
Date: Fri Apr 27 10:38:34 2018 +0100 |
| 4 |
|
| 5 |
Add REPL to the roadmap |
| 6 |
|
| 7 |
diff --git a/doc/roadmap.rst b/doc/roadmap.rst |
| 8 |
index 5956534..884d066 100644 |
| 9 |
--- a/doc/roadmap.rst |
| 10 |
+++ b/doc/roadmap.rst |
| 11 |
@@ -43,6 +43,21 @@ play any Pygame Zero game, in order to follow the principle of |
| 12 |
.. _Amazon: https://www.amazon.co.uk/s/ref=nb_sb_noss_2?url=search-alias%3Delectronics&field-keywords=usb+snes |
| 13 |
|
| 14 |
|
| 15 |
+REPL |
| 16 |
+---- |
| 17 |
+ |
| 18 |
+Python's REPL is a valuable feature that makes the language much more |
| 19 |
+accessible to beginners. |
| 20 |
+ |
| 21 |
+Python programs that present a user interface, however, rarely provide a REPL, |
| 22 |
+because the main thread is used to run the event loop for the user interface. |
| 23 |
+ |
| 24 |
+However, Javascript in a web browser demonstrates how this can work. You have |
| 25 |
+access to an interactive REPL that allows investigating program state *while |
| 26 |
+you interact with the interface*. This is very useful for debugging, and would |
| 27 |
+be a powerful addition to Pygame Zero. |
| 28 |
+ |
| 29 |
+ |
| 30 |
Surface juggling |
| 31 |
---------------- |
| 32 |
|