Live data from Hacker News

Teach Yourself Programming in Ten Years (1998)

norvig.com

271–280 of 323 posts

Re: Teach Yourself Programming in Ten Years (1998)

#271

Earlier quoted context omitted.

Really? It hasn't killed Costco yet.

Is family ever in the store next to Costco (which is a null pointer exception), such that meeting on foot with clear bags holding presents is no longer secret? I think that’s the challenge he described.

I'm talking about the other thing

Re: Teach Yourself Programming in Ten Years (1998)

#272
post #73

This essay holds a special place in my heart, since I first read it as a teenager when I was just starting to learn to code. Re-reading it now, I was surprised to see references to Malcom Gladwell, since I didn’t remember Outliers becoming a thing until much later. Then when I saw the reference to Ratatouille, I realized the article had been updated since its posting in 1998. The original is still available on archiv…

I resent Gladwell to this day, possibly because I was assigned to read him in high school. He is quoted too much -- the 10,000 hours thing is just a meme at this point, for me anyway.

The breaking point for me was when someone linked me to his podcast where it's clear that he either hasn't done much diligence or is obviously ignoring information to tell a better story. It's painful and made me really question anything he puts into his books.

Re: Teach Yourself Programming in Ten Years (1998)

#274

I bought a copy of "Sams Teach Yourself C++ in 24 Hours" at a CompUSA in 1999. The guy at the checkout looked at it, laughed, and told me about this article. When I was 16 I was looking at programming books at Borders and a guy handed me a copy of "The C Programming Language"; changed my life. So much of my career has been shaped by running into developers or just people interested in programming out in the world. Th…

I wonder who's going to write the "Teach yourself Rust from scratch in 21 days" book. If C and even C++ can be learnt effectively as a first programming language, there's little reason why Rust couldn't be. And if not Rust, maybe Golang could play that role.

Golang yes, but not rust. I think rust is a terrible beginner language. Despite having decades of experience it took me about a month to feel productive in rust and stop “fighting the borrow checker”. I learned Go in about 12 hours.

Let beginners cut their teeth on stuff like Python and Go. Rust can wait.

Re: Teach Yourself Programming in Ten Years (1998)

#275

I bought a copy of "Sams Teach Yourself C++ in 24 Hours" at a CompUSA in 1999. The guy at the checkout looked at it, laughed, and told me about this article. When I was 16 I was looking at programming books at Borders and a guy handed me a copy of "The C Programming Language"; changed my life. So much of my career has been shaped by running into developers or just people interested in programming out in the world. Th…

I must say that for myself, I still learn/reference many things from programming books... Mostly Perl and Java, but none of them have promise of teaching me programming in any time interval. Rarely do I ask for help online as I was ridiculed for most of the time. Nowadays, if paper is insufficient I consult with the AI, but I still refuse to use copilot.

Re: Teach Yourself Programming in Ten Years (1998)

#276

Earlier quoted context omitted.

Really? It hasn't killed Costco yet.

Is family ever in the store next to Costco (which is a null pointer exception), such that meeting on foot with clear bags holding presents is no longer secret? I think that’s the challenge he described.

It seems unlikely to me that the majority of CompUSA purchases were presents while running errands with the recipient.

Re: Teach Yourself Programming in Ten Years (1998)

#277

Earlier quoted context omitted.

I wonder how people’s learning habits will change with AI tools like GitHub Copilot. I used it for several months but randomly got logged out and am now finding myself valuing the slight inconvenience of looking up official documentation (and surprised how much more sluggish I felt for the first week). Going through extra steps to learn something through primary sources and valuing being uncomfortable at times are im…

I've worked with a fair number of less experienced, ChatGPT focused engineers and they aren't all that different from the Java engineers of yore that were completely helpless outside of an IDE and could only work extending existing code. These latter engineers where the exemplar "blub" programmers from PG's famous essay [0]. But clearly using an IDE does not make one a bad programmer any more than using ChatGPT will…

I think solving one own's problems with code will become more accessible to the wider population, also coding will become a bit more demystified. If you ask me, it will become sort of literacy, like reading alpha-numeric code.

But programming will remain domain of CS, which requires a deeper understanding and proper studying to perform it well. So, while I agree with you, I don't think all of this is that bad. It must be a positive think that more and more people at least try to pick up coding, can solve some basic problems with it, and if anything, will maybe motivate their kids to learn it properly.

Re: Teach Yourself Programming in Ten Years (1998)

#278

Earlier quoted context omitted.

Unfortunately "The C Programming Language" has enough typographical errors in it to seriously undermine it's utility as a book with which to learn programming.

What are the typographical errors? I didn't think it had any. It does use features of C89 that may not compile after C99, but those aren't weird. But, as someone who actually did try to use K&R to teach themselves to program, I agree it's not ideal for that. It's definitely not the best programming book ever, which some people say. The exercises are pretty good, though.

In the section on Pointers and Addresses there are a few spots where the pointer or dereference operator is not included in the code examples.

Re: Teach Yourself Programming in Ten Years (1998)

#279

Earlier quoted context omitted.

ChatGPT has been a blessing for learning C. How do you calculate the conjugate for a complex double when the compiler doesn't support complex numbers? ChatGPT will give you the correct answer together with math examples. One example out of many. Then I verify the result by looking at other people's code - and now I know what to look for. I wouldn't use Copilot. I've noticed how it distracts people in screen recording…

https://en.wikipedia.org/wiki/C_mathematical_functions#compl... https://learn.microsoft.com/en-us/cpp/c-runtime-library/comp... https://en.cppreference.com/w/c/language/arithmetic_types#Co...

Can't use any of that, because they all use complex.h (not supported by my compiler) and I have an interleaved array of complex numbers where 0 = real, 1 = imag, 2 = real, 3 = imag etc.

Dear ProbablyRealPersonGPT, please provide the necessary code in C with a short explanation

Re: Teach Yourself Programming in Ten Years (1998)

#280
post #184

I am quite impressed that the ancient Amazon.com link [0] on the page (with quite a few non-trivial query params) still returns relevant results today. A good case of Cool URIs don't change [1]. [0] http://www.amazon.com/gp/search/ref=sr_adv_b/?search-alias=s... [1] https://www.w3.org/Provider/Style/URI

Funny, because the Amazon link returns an error for me.
Post reply on HN