News for hackers. Stuff that matters.
Re:Ask HN: Why did you stop learning to code? by rimantas on Friday August 12, 2016 @06:41AM (#12274513)
Omg, not java for sure. The important bits will be burried in the boilerplate code. How about starting with NO language at all. Learn what variables are, what assignment is, how do control structures work. And hey, you've just learned to programm. At least I learned this way. We had no access to computers so the lessons were more or less what I listed above. On paper. And when I did get access to the computer I already knew how to program. The only thing I needed was to find out which MSX-BASIC instructions are for the things I want. I. e. I had just to learn a syntax, not the concepts. Having mastered concepts is also very transferable, especially between the languages of the same family.
Re:Ask HN: Why did you stop learning to code? by ManlyBread on Friday August 12, 2016 @07:08AM (#12274634)
>Omg, not java for sure. The important bits will be burried in the boilerplate code.

So what? It doesn't make any difference for a beginner, I'd say it actually helps beginners since it makes programming a easier to approach.

>How about starting with NO language at all.

I hated this kind of advice when I was new, I followed it and my hatred has not subsided at all. Just pick a language and learn this stuff as you go, it will make zero difference and will save you a ton of time.

Re:Ask HN: Why did you stop learning to code? by mancerayder on Friday August 12, 2016 @11:53AM (#12276616)
I think it's the individual differences between deductive and inductive learning styles at play here. Inductive learners, like myself, prefer to see examples and derive general rules. Deductive learning style is more about learning the generality first and moving on to examples.

Different strokes for different folks.

I too learned like you, I first learned Perl by trial and error example and the wonderfully awesome Learning Perl. I learned Java by frustratingly going through it, but once I got it I got it. Learning object oriented Perl and Python feel trivial now, thanks to that experience. Python, btw, feels like it needs to be practiced instead of learned, since I already have the concepts and generalities down.

The question of this thread is, how do we teach beginners the concepts in an interesting way. I realize how much of a genius Larry Wall and Randal Schwartz are when I see threads like this.

Re:Ask HN: Why did you stop learning to code? by LifeQuestioner on Sunday August 14, 2016 @02:12PM (#12286630)
You can learn all those things you've just said, in Java, very little boiler plate. Java to me, is a mixture of all languages, or most languages have at least elements of java in them. Hence useful to start with, picking up others are easy.