Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I had a hell of a time finding an IDE for a Girls Who Code class that used Python with middle schoolers.

I wanted:

1. A plain text editor

2. With syntax highlighting

3. With a "run" button that would display program output in a side area.

What I didn't want: version control, autocomplete, package managers, refactoring. Not even as little buttons on the side which never have to be pressed but which act as a visual distraction and suck brain power. I'm trying to get these kids to understand what a loop is, they shouldn't ever think about damn git commits!

We mostly settled on Notepad++ but I really would have liked something more basic, and ideally browser-based given the, uh, quality of our hardware. Trinkit.io was also pretty good, but python3 required a subscription (python2 does not...), and for some reason it had issues with cursor focus.



Consider codeskulptor[0] out of Rice University, I used it for a coursera class a decade ago (think it was this one[1])

[0]: https://py3.codeskulptor.org/

[1]: https://www.coursera.org/learn/interactive-python-1


Wow! This is actually exactly what I wanted, thank you!

Our classes were shut down at the start of COVID-19 in March 2020, but if we ever actually go again, I will definitely use this!


Well, if you're willing to try something different, look at Racket with its DrRacket IDE[1]. It couldn't be simpler. Racket is actually a decent starting language for beginners, and some universities start off with it for their introductory CS courses (no prior experience required)[2], but I'm not quite sure how well-suited functional programming is for middle-school-aged kids.

[1]: https://docs.racket-lang.org/drracket/interface-essentials.h...

[2]: https://student.cs.uwaterloo.ca/~cs135/


>I'm not quite sure how well-suited functional programming is for middle-school-aged kids

Functional programming works perfectly well with middle-school-aged kids. The only problem (imo) is that understanding (and hence using) recursive functions can be a barrier, but this doesn't even come up for a _long_ time (depending on your approach).

That site you linked as [2] is pretty bare-bones; try https://htdp.org/


I didn't intend it as a learning resource, merely as an example of a university that teaches Racket in an introductory CS course.


Is there a reason a Jupyter notebook wouldn't have worked? Google CoLab makes notebook env's available for free (no install / setup required):

https://colab.research.google.com/


Jupyter notebooks will give you syntax highlighting, and all you need to do is hit the run button or Shift+Enter and it will run the code that was just typed.


Replit, potentially. No need to install anything beyond a web browser and once the project is setup, it really is just pressing play to get it running. Then things like version control can be added on later if there's interest, but even without it sharing projects is sharing a link. This also can make it easier for the learner to take this home and not just do the work in class or the classroom setting.

There are probably other solutions out there, but I've mostly been liking it as a way to help people (especially remotely) but at work and just in general with exploring programming. Especially since I don't have to walk anyone through installing anything, which is a PITA.


I looked at repl.it, it was much too complicated! It had integrated version control and other stuff I didn't want.

trinkit.io was really very close, and we maybe should have just purchased a subscription to use python 3, but as a little free class run out of a library, we didn't exactly have tons of funding.


The integrated version control can mostly be ignored, I don't recall it ever pestering me. I did set up some as git repos and sync to GitHub, but most of the time I'm just spawning a new session and throwing code in to demonstrate a particular language feature or concept. It does have autocomplete, I forgot about that bit (I guess it became invisible to me since I'm so accustomed to it). I'm not sure if it can be turned off.


I use geany a lot for its simplicity but usefulness. Give it a try.


What about visual studio code with the python plugin?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: