Live data from Hacker News

Brian Kernighan on “The Practice of Programming” [video]

youtube.com

41–50 of 117 posts

Re: Brian Kernighan on “The Practice of Programming” [video]

#41
post #34

Earlier quoted context omitted.

Yeah, definitely not my area of expertise. We’ll need to explore it further and make sure there’s nothing sketchy before making a decision.

You can always provide two versions of each link (affiliate/direct)

Good idea. Now that I think of it, I've seen other creators do something similar.

Re: Brian Kernighan on “The Practice of Programming” [video]

#42

I'm only one third of the way through the video, but could see that the podcasters are asking some good insightful questions. Thanks for sharing, OP.

I just found out we cracked the Top 20 on Hacker News! Crazy! I’m Carter, one of the podcasters from the video. I’m glad you’re enjoying it! It was such a huge honor to talk to Brian Kernighan.

gotcha, and agreed.

bwk is one of my software heroes, along with dmr, bs, lw, gvr, etc.

Re: Brian Kernighan on “The Practice of Programming” [video]

#43

The "g" is silent, folks. You should try to get Rob Pike on. He'd probably make it a point to correct your pronunciation. I can hear him now...

Yeah, someone on YouTube pointed out the same thing. D'oh. I wish Brian would have corrected us! We'd love to get Rob Pike on too! Currently working on it, although he's a little harder to get a hold of.

You should ask the arraycast guys on how they did it. They got him to talk about ivy and apl/array style programming for an hour or so.

Re: Brian Kernighan on “The Practice of Programming” [video]

#44
post #40

Earlier quoted context omitted.

It was the first time I’ve ever read it and I was surprised how much of it still held true given it’s 25 years old. Some of the specific programming examples are pretty outdated, but the general ideas are as solid as ever!

Curious what examples you felt were outdated.

They mention at one point that Java doesn't have a way to pass a function as a parameter to another function. That was added in Java 8 with lambdas. That's just one off the top of my head.

Re: Brian Kernighan on “The Practice of Programming” [video]

#45

Love Kernighan, such a humble person. In one of the videos that he was featured on in youtube, he spoke about how he was solving a difficult problem in his thesis which turned out to be NP-complete before the theory had been fleshed out. Emailed him for his thesis and got a pretty quick response, was a really interesting read.

It's a rare combination to find someone both as intelligent and humble as he is. Truly a blessing to our industry.

I believe you are right as intelligent grows, but the very top end usually has people excelling in many things and personality as well. At least that’s what I noticed.

Re: Brian Kernighan on “The Practice of Programming” [video]

#46
post #45

Earlier quoted context omitted.

It's a rare combination to find someone both as intelligent and humble as he is. Truly a blessing to our industry.

I believe you are right as intelligent grows, but the very top end usually has people excelling in many things and personality as well. At least that’s what I noticed.

Certainly successful intelligent people often excel in personalities. Hard to get places without playing nice with others to a degree.

Re: Brian Kernighan on “The Practice of Programming” [video]

#47
This book is foundational; all Programmers (especially beginners) should read it. Like all Kernighan's books, the language is simple, concise and precise focusing on the foundations/essentials with no fluff and all in a little over 200 pages. Understand the principles from the examples shown here and then apply them in your own context. The beauty of K&P's books is that they do not overwhelm you with theory but show you the craft/practical applications of it after which a study of the theory becomes more accessible.

To give a concrete example; i had some experience in network programming/protocol implementations before i came across this book. In the "Notations" chapter, they show network message pack/unpack routines written in the style of printf/scanf functions with format strings specifying the packet layout! This was a eye-opening lesson for me in the use of proper notations and little languages. There is also some code snippet examples showing ideas behind Virtual Machines, Code Threading, JIT compilation etc.

Folks should also get Kernighan and Pike's older book "The Unix Programming Environment" to go with this. The chapter "Program Development" gives a complete example of developing a compiler for a small calculator language using compiler development tools (and no theory!) in around 50 pages. This is the smallest and simplest exposition that i know of on how to write a compiler.

In summary; get all of Kernighan's books and study them! :-)

Re: Brian Kernighan on “The Practice of Programming” [video]

#48
post #40

Earlier quoted context omitted.

Curious what examples you felt were outdated.

They mention at one point that Java doesn't have a way to pass a function as a parameter to another function. That was added in Java 8 with lambdas. That's just one off the top of my head.

Ah ok thanks.

Re: Brian Kernighan on “The Practice of Programming” [video]

#49
post #43

Earlier quoted context omitted.

Yeah, someone on YouTube pointed out the same thing. D'oh. I wish Brian would have corrected us! We'd love to get Rob Pike on too! Currently working on it, although he's a little harder to get a hold of.

You should ask the arraycast guys on how they did it. They got him to talk about ivy and apl/array style programming for an hour or so.

He's active on Bluesky and Mastodon.
Post reply on HN