News for hackers. Stuff that matters.
Re:Visual Studio Code for Education by thisarticle on Friday May 10, 2024 @07:34PM (#40324755)
“Your code ran succcessfully”. Will there be a spellcheck version for the software engineers that built the site?
Re:Visual Studio Code for Education by cxr on Friday May 10, 2024 @08:25PM (#40325031)
Python-heavy pedagogy does students and the world at large a disservice.
Re:Visual Studio Code for Education by listless on Friday May 10, 2024 @09:17PM (#40325287)
C++?
Re:Visual Studio Code for Education by asimops on Friday May 10, 2024 @09:43PM (#40325398)
Re:Visual Studio Code for Education by Turing_Machine on Friday May 10, 2024 @09:37PM (#40325374)
Python v. C++?

That reminds me of the way Utah used to give convicted murderers the choice of hanging or shooting.

Re:Visual Studio Code for Education by PrivateButts on Saturday May 11, 2024 @04:19AM (#40326796)
That's why you gotta shoot em up with Python to get them hooked on programming then teach them enough C++ to hang themselves with.
Re:Visual Studio Code for Education by shrimp_emoji on Friday May 10, 2024 @09:51PM (#40325427)
No, C.

Teaching C++ as a first language feels like a surefire way to embed bad habits to be unlearned once you get to the point of knowing what a `std::unique_ptr` is... but I just realized I'm also describing C.

Fuck.

I mean, at least you're not teaching them the conceptual dead end of classes.

Re:Visual Studio Code for Education by firecall on Saturday May 11, 2024 @01:59AM (#40326292)
So it's not just me! ;-)

I do not understand the love of Python.

Generally I assume it's just me and I must be missing something.

If nothing else I cannot abide the four-spaces indentation standard and the short line lengths.

Why waste so much space!

I read right to left, and I can read long lines of code just fine!

I'm forever scrolling up and down in Django code and losing my place!

Re:Visual Studio Code for Education by PrivateButts on Saturday May 11, 2024 @04:13AM (#40326773)
I like to write my Python in a vertical monitor, it does reinforce keeping your lines short. There's always going to be examples where you just need to have that one line of arcane garbage, but for the most part I find that I can scan through a Python file much faster since I don't have to disect each line.

The point is to emphasize readability but the truth is that readability is pretty subjective. To each their own syntax, I guess.

Re:Visual Studio Code for Education by cxr on Saturday May 11, 2024 @12:07PM (#40328964)
Not at all what I was getting at. Most of your complaints here are trifling and/or matters of taste. There are good reasons to disfavor Python, but you have only provided bad ones.
Re:Visual Studio Code for Education by firecall on Sunday May 12, 2024 @12:57AM (#40332348)
And I thought we could be friends! LOL

They are not bad reasons to me :-)

Jim Simmons thought the aesthetic componant was important! :-)

https://twitter.com/dhh/status/1789402566909886799

Re:Visual Studio Code for Education by catchnear4321 on Saturday May 11, 2024 @09:48AM (#40328019)
> _________ does (_______ and) the world at large a disservice.

what a flexible template.

Re:Visual Studio Code for Education by execat on Saturday May 11, 2024 @11:30AM (#40328700)
Re:Visual Studio Code for Education by catchnear4321 on Saturday May 11, 2024 @04:42PM (#40330515)
was the post i was responding to kind?
Re:Visual Studio Code for Education by cxr on Sunday May 12, 2024 @10:53AM (#40334968)
It wasn't unkind, and it wasn't snarky. If you think it was, that's because you are reading that into it. Read it a different way.
Re:Visual Studio Code for Education by catchnear4321 on Sunday May 12, 2024 @11:13AM (#40335127)
perhaps you should reread the comment you considered snarky?
Re:Visual Studio Code for Education by cxr on Sunday May 12, 2024 @09:05PM (#40338861)
You have me confused with someone else.
Re:Visual Studio Code for Education by catchnear4321 on Monday May 13, 2024 @08:43AM (#40342689)
not really. you answered for them.
Re:Visual Studio Code for Education by cxr on Monday May 13, 2024 @10:28AM (#40343781)
Now you have your argument confused with one that works (and isn't bullshit). What's the comment I should reread? What's the comment I considered snarky?
Re:Visual Studio Code for Education by catchnear4321 on Monday May 13, 2024 @03:40PM (#40347449)
that seems a bit unkind, does it not?

did you not read the whole thread before answering?

Re:Visual Studio Code for Education by cxr on Monday May 13, 2024 @08:02PM (#40350048)
No. And except for the ones in your most recent comment, you've gotten answers to all your questions, and have been evasive about every one that has been put to you.

I can jump to the end here: you want to see if there's some way out of how you've boxed yourself in and manage to pull off for your own sake a conversational win here—which is important to you. There isn't, and it shouldn't be this important.

Re:Visual Studio Code for Education by catchnear4321 on Monday May 13, 2024 @08:32PM (#40350263)
many statements and few questions.

why did you consider it worth continuing? one might say you put more effort in than i. more importance attributed than i?

Re:Visual Studio Code for Education by westurner on Friday May 10, 2024 @09:36PM (#40325368)
https://news.ycombinator.com/item?id=40115099 :

> JupyterLite, datasette-lite, and the Pyodide plugin for vscode.dev ship with Pyodide's WASM compilation of CPython and SciPy Stack / PyData tools.

Does this work in vscode.dev, in a Chrome or Edge browser?

Re:Visual Studio Code for Education by westurner on Friday May 10, 2024 @09:37PM (#40325371)
But can students test and/or grade their own work using their own CPU? ; OtterGrader -> Canvas, nbgrader,: https://news.ycombinator.com/context?id=37981190