Live data from Hacker News

Tell HN: My child's first program

news.ycombinator.com

21–30 of 139 posts

Re: Tell HN: My child's first program

#21
Hilarious! After a few of those, I taught my son how to open the javascript console and "hack" his favorite cookie clicker. He was so excited to show his friends but the school-provided chromebooks are really locked down.

I was disappointed, thinking that would be the end of it, but his whole class has been trying to find ways around the blocks and filters ever since. They've found some clever workarounds and a lot of things that sort of look like hacks but are not. It's adorable.

Re: Tell HN: My child's first program

#22
post #11

So. I made a deal with my kids that they could have a phone if they made an app. There's enough youtube tutorials and they're old enough to follow them. I could have helped them more over the summer, but we didn't get it done. Now ChatGPT will generate the flutter code for an app in seconds, as well as guide you with 'show me how to install flutter'. It's crazy that all the code is written for you. I tried one of the…

>they could have a phone if they made an app

I think this is a great way to get your kids to have a habit of self-learning. In my opinions, this is the single most important skill a kid can learn.

Every time my little cousins ask me something they want to learn, I go with "Let's search for the answer together" and guide them on how to do basic research. Sometimes I ask them follow-up questions if they find the topic interesting so it gives them a sense of accomplishment. Takes little time and effort but teaches the most valuable skill.

Re: Tell HN: My child's first program

#24

Adorable. Interesting that mindstorms didn’t take while Python did. I’d kind of assume the opposite, since MS is more tangible and easier to visualize.

IMO Mindstorms is a bit more of an all-in proposition; you have to build a thing that does a thing, and then build a "complete" program for it.

I never really got into Mindstorms either, I remember I would build a thing, then use the pre-loaded programs to run stuff, but then because I was starting from zero and didn't really have an understanding of what was going on, I wasn't able to really fiddle around very much.

With Python, it's easy to get something from very little- as is seen here from OP.

Re: Tell HN: My child's first program

#25
post #11

So. I made a deal with my kids that they could have a phone if they made an app. There's enough youtube tutorials and they're old enough to follow them. I could have helped them more over the summer, but we didn't get it done. Now ChatGPT will generate the flutter code for an app in seconds, as well as guide you with 'show me how to install flutter'. It's crazy that all the code is written for you. I tried one of the…

Is the ChatGPT sample code/tutorials much better than the tutorials that can be found on Google?

Sounds like copying from GitHub with extra steps

Re: Tell HN: My child's first program

#26
I started programming as an autodidact in fourth grade, creating programs on an Amstrad with BASIC language, reading the instruction manual (I didn't speak English). I remember the joy when I had the idea that it was possible to add a variable to itself to increase a number A = A + 1 instead of having to use multiple variables and that testing it worked. I felt like a genius.

Re: Tell HN: My child's first program

#27
post #21

Hilarious! After a few of those, I taught my son how to open the javascript console and "hack" his favorite cookie clicker. He was so excited to show his friends but the school-provided chromebooks are really locked down. I was disappointed, thinking that would be the end of it, but his whole class has been trying to find ways around the blocks and filters ever since. They've found some clever workarounds and a lot o…

Poorly implemented device lockdowns by my school were the start of my interest in understanding and manipulating systems, long may they last!

Re: Tell HN: My child's first program

#28

Earlier quoted context omitted.

Is the ChatGPT sample code/tutorials much better than the tutorials that can be found on Google?

Sounds like copying from GitHub with extra steps

It's more like having an assistant who can do it for you so you need no/little knowledge of GitHub.

Re: Tell HN: My child's first program

#29
post #13
post #10

Show her how to loop through the print statement and she’ll be hooked forever!

I suspect some major portion of computer programmers discovered loops via 10 PRINT "FARTS" 20 GOTO 10

Hah, I think one of my first computer programs I wrote on my own looked something like this:

    while (true) {
        cout 

Re: Tell HN: My child's first program

#30
post #11

So. I made a deal with my kids that they could have a phone if they made an app. There's enough youtube tutorials and they're old enough to follow them. I could have helped them more over the summer, but we didn't get it done. Now ChatGPT will generate the flutter code for an app in seconds, as well as guide you with 'show me how to install flutter'. It's crazy that all the code is written for you. I tried one of the…

Is the ChatGPT sample code/tutorials much better than the tutorials that can be found on Google?

Create me a flutter app that has a list of todo items. Each item has a timer. The list shows one item at the top and when it's timer finishes the next one in the list moves to the top.

That prompt, or something like it, generated Futter code along with the instructions of how to modify a default flutter app for the code to work.

I haven't ran the code yet, but all the other code samples I asked for worked.

Asking for a ruby Student, Teacher application where the student takes multiple courses and the teacher can assign a grade to each course.

After you get that code, you can clarify in your next question.

I want each course to have progress steps.

More generated ruby code..

Can you add a grade for each progress step, and can the teacher have the ability to unlock the next progress steps.

Generates more code.

Then.

Generate me a react front end for this.

Generates React code.

I didn't install/run the code, but it looked accurate and had comments explaining what the lines of code did.

----

GitHub code works, ChatGPT code works, and does exactly what you want, and you can modify it just by asking.

"Change the progress array to be an object that has a grade, started date, finished date and parent acknowledgement."

That actually works as an example after the bot generated the initial app.

We're in for a world of changes.

Post reply on HN