Better HN
topnewbestaskshowjobs
Log inSign up

debanjan16

1,877 karma · joined Feb 26, 2022 (4y ago) · 182 submissions

Submissions

comment 3y ago · link · parent

Different things workout for different people. I was overwhelmed by so many ways to do things in Python and everybody teaching their own favourite way of doing things. Similarly, all I was learning was the syntax and no problem solving skills.

Then I cam across the book How to Design Programs aka HTDP. I was skeptical at first. But I eventually started and worked through the second edition of the book available freely at https://www.htdp.org .

It was so beautiful. The teaching languages and writing examples before writing code. It made me really understand programming.

Now I can pick up any language (not that I become a language expert overnight) in a short time. I only need to map the concepts to this new language. And that's that. I can even pattern match my ideas from higher order functions to imperative looping constructs.

I have another book in to TDR list. It is Norvig's Paradigms of Artificial Intelligence Programming.

2.

Ask HN: Which are the best self study materials for learning mathematics?

1 points · by debanjan16 · 3y ago · 1 comment

comment 3y ago · link · parent

Can you elaborate a bit more on the reason?

comment 3y ago · link · parent

Even beginners can learn to program in a data oriented way from the beginning.

Two books that teach this style of programming to beginners are:

1. How to Design Programs - https://htdp.org/

2. A Data-Centric Introduction to Computing - https://dcic-world.org/

5.

A Functional Introduction To Computer Science(cs.uwaterloo.ca ↗)

188 points · by debanjan16 · 3y ago · 34 comments

comment 3y ago · link · parent

The book utilises a series of Scheme based teaching languages to teach about how to write functions for increasingly complicated data types. The language levels produce meaningful error messages for programmers of that particular level and goes on adding language features as you progress through the book.

The book furthermore teaches a design recipe which comes in handy when you are stuck with a problem. Basically it teaches you to write examples first so that you understand the problem instead of jumping onto the editor to write code first. The examples help you structure your data. The rest of the code follows from it.

comment 3y ago · link · parent

I was actually in the school of thought that this article describes until I read and worked through the book How to Design Programs [0]. The rest is upto you to judge.

[0] https://htdp.org/

Edit: I would love others, who have read the above mentioned book, to weigh in with your anecdotes.

8.

Ask HN: Materials to learn machine learning and deep learning in 2023?

7 points · by debanjan16 · 3y ago · 1 comment

comment 3y ago · link · parent

Link added: https://www.coursera.org/learn/statistical-mechanics

10.

More People Should Write(jsomers.net ↗)

3 points · by debanjan16 · 3y ago · discuss

comment 3y ago · link · parent

Not my favorite subject to be exact. But Probability really clicked for me after reading Probability Theory: The Logic of Science by E.T. Jaynes.

12.

Ask HN: What are some of the most elegant codebases in your favorite language?

223 points · by debanjan16 · 3y ago · 177 comments

comment 3y ago · link · parent

Keep us posted about the lectures. I don't find a personal website of you. Then I would have bookmarked it.

There are so many awesome lectures from other CMU courses like Andy Pavlo's Database, Keenan Crane's Graphics courses.

I so hope CMU records their intro courses and put them out in public.

comment 3y ago · link · parent

Btw, Brandon, I hope you archive your version of the course materials somewhere as they are really as good as the notes, someplaces, even better. All previous versions of 15-150 are basically non-existent.

comment 3y ago · link · parent

Ah! Thanks for the detailed reply. It is so good to hear from someone who have passionately benefitted from their undergraduate courses and gets to use knowledge from that in real life.

Btw with 15-150 notes and slides do you have any book suggestion in mind that self learners can read alongside?

Note:- There are some leaked lectures from Brown's CS019, if you want to look, here: https://learnaifromscratch.github.io/software.html#org464eb9...

comment 3y ago · link · parent

Since, you are the instructor for 15-150 this semester and have graduated from CMU as per the slides. I would like to know what you think about similar intro course sequences elsewhere.

Like BrownU's CS019 course using Pyret. It also teaches a functional approach to programming.

Also Berkeley's CS61A,B,C trilogy.

Do intro level courses matter in the long run? Or is it the higher level courses that set apart universities in undergrad CS education?

17.

Ask HN: What makes game developers such programmers?

2 points · by debanjan16 · 3y ago · 3 comments

comment 3y ago · link · parent

Why is this awesome book posted again today? (I have no problem though). Even if one person is benefitted from it, the post is worth it.

comment 3y ago · link · parent

How to Design Programs by Felleisen et al.

A breath of fresh air among all the trash introductory programming courses/books that teach nothing but syntax of a trendy language with little to no transferrable skills.

20.

Forall x: An Introduction to formal logic(forallx.openlogicproject.org ↗)

2 points · by debanjan16 · 3y ago · discuss

comment 3y ago · link · parent

Apart from the font, all your questions are answered in the book's introduction. And this is still a work in progress.

22.

Ask HN: How are engineering minds like Jeff Dean, Torvalds, Wozniak created?

8 points · by debanjan16 · 3y ago · 14 comments

comment 3y ago · link · parent

I did.

I used the book How to Design Programs to learn programming in a clean and functional way. I had to find the textbook that clicked for me.

24.

Ask HN: Has anyone implemented Derek Siver's approach of no speed limit?

2 points · by debanjan16 · 3y ago · 3 comments

comment 3y ago · link · parent

Do JAX and functorch have the same level of builtin functionalities (operations) as the original Pytorch library?

Where to learn about it other than the documentation?

comment 3y ago · link · parent

Thanks for pointing it out. I totally missed it. Sorry.

27.

Purely Functional Data Structures (1996) [pdf](cs.cmu.edu ↗)

364 points · by debanjan16 · 3y ago · 96 comments

1234567