[Pythonedu-wg] A new, kid-friendly Python editor

Chris Roffey chris at codingclub.co.uk
Tue Sep 22 11:17:34 CEST 2015


An example of how to implement this cleanly and in a way that is familiar to students who use word-processors, can be seen here:
http://www.greenfoot.org/frames/ <http://www.greenfoot.org/frames/> (search for “Doesn't typing variable names reintroduce possible errors” to jump to the correct section.)

- Chris

> On 22 Sep 2015, at 09:36, Alex Bradbury <asb at asbradbury.org> wrote:
> 
> On 21 September 2015 at 14:57, Alex Bradbury <asb at asbradbury.org> wrote:
>> On 21 September 2015 at 14:15, Carrie Anne Philbin
>> <carrieanne at raspberrypi.org> wrote:
>>> - Error reporting that highlights lines and gives a good level of feedback
>>> to the user.
>> 
>> Just to expand on this one a little, I think there's a lot of
>> potential for providing more user-friendly error messages. Khan
>> Academy's online JS environment goes to at least some effort in this
>> direction (https://www.khanacademy.org/computer-programming/new/pjs).
>> e.g. it will look at the Levenshtein edit distance to suggest variable
>> or method names you might have meant. There's also room for printing
>> something more direct and easier to understand for simple cases like
>> forgetting to close a string.
>> 
>> This kind of thing is definitely a nice feature for this IDE, but a
>> tool that takes in Python error messages and spits out beautiful easy
>> to understand descriptions of what you might have done wrong could
>> potentially be a separate project/library.
> 
> I cam across https://github.com/SylvainDe/DidYouMean-Python which
> covers a number of common cases.
> 
> Alex
> _______________________________________________
> Pythonedu-wg mailing list
> Pythonedu-wg at python.org
> https://mail.python.org/mailman/listinfo/pythonedu-wg

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonedu-wg/attachments/20150922/2f996776/attachment.html>


More information about the Pythonedu-wg mailing list