Live data from Hacker News

Tell HN: My child's first program

news.ycombinator.com

111–120 of 139 posts

Re: Tell HN: My child's first program

#111

Earlier quoted context omitted.

>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…

I think it's a great way to ensure that the only motivation your kids have is external. "What's the point of doing X is no one offered me a phone for it" When I was a kid, I heard that some friends were getting money from parents as a reward for good grades. I always had good grades so I suggested to my mom that I should get money for good grades. She said "No, because then you'll get used to only work hard when I'm…

Good luck teaching a small kid the concept of self-improvement as an investment into the future. You have to reward kids to create habits. They don't have the experience or the knowledge to think far ahead. The best way to reinforce a behavior is immediate reward, not a promise of "better future". The reward can be something as simple as "a sense of accomplishment" or as big as a phone as long as the perceived value of the reward is proportional to the achievement and effort.

Re: Tell HN: My child's first program

#114
:D, my son tired of changing battery of a computer mouse, added charger circuit and battery of his old toys, ( that’s charging circuit of Bluetooth speaker and that’s old helicopter toy battery )

As 8 year old, I’m proud that he recognised a problem and solved it.

https://www.dropbox.com/s/ivuxfgyv9ehlvdu/View%20recent%20ph...

Re: Tell HN: My child's first program

#115
I well remember the epiphany I felt while learning Logo in elementary school, at the moment I understood what recursion is.

While I have never worked as a professional software developer, computers have been a hobby all my life. I don't think the fact that the language I have mostly written code in in recent years is Emacs Lisp is unrelated to the above moment.

Re: Tell HN: My child's first program

#116
post #41

Earlier quoted context omitted.

As a kid? When writing stupid scripts, I frequently use `fart` as a variable name to this day. I'm a staunch supporter of naming variables intentionally in software that lives, but I'm definitely not above doing a `fart=True; while fart: ...` in temporary repl work. Maybe I'm just eternally 10 years old, haha.

I must be old-fashioned! My variable names in throwaway programs tend to be x, y, and z and my iteration variables tend to be i, j, and k.

My foo is "yo" and my bar is "ho"

Re: Tell HN: My child's first program

#118
post #41

Earlier quoted context omitted.

As a kid? When writing stupid scripts, I frequently use `fart` as a variable name to this day. I'm a staunch supporter of naming variables intentionally in software that lives, but I'm definitely not above doing a `fart=True; while fart: ...` in temporary repl work. Maybe I'm just eternally 10 years old, haha.

I must be old-fashioned! My variable names in throwaway programs tend to be x, y, and z and my iteration variables tend to be i, j, and k.

Mine are: x, xx, xxx, xxxx...

Re: Tell HN: My child's first program

#119
My daughter was really inspired to explore Scratch by finding all the distinct things she could simultaneously name "poop". I believe she got a variable, list, block, sprite, backdrop, costume, sound, and the project itself. Lots of distinct namespaces there. Very educational.

Re: Tell HN: My child's first program

#120

I love the variable names. I definitely had the same naming conventions as a kid :) Funny story. Sophomore year at college, I worked at a dev shop, and I was the first person to set up version control there (CVS... it was like year 2000.) The next day I reviewed changes that were merged and variables $tit and $ass were all over the place. I assumed the guy who checked it in was just immature and met w him to "profess…

I can't imagine anyone accidentally naming their variables $tit and $ass and not realizing it. I expect the guy thought it was funny, and the domain gave him some plausible deniability.
Post reply on HN