Live data from Hacker News

Ask HN: Is "Code Complete" by Steve McConnell still a recommended read?

news.ycombinator.com

31–40 of 71 posts

Re: Ask HN: Is "Code Complete" by Steve McConnell still a recommended read?

#31

Earlier quoted context omitted.

I found this: https://www.goodreads.com/review/show/1461289590 "A team of two, with one leader , is often the best use of minds. [Note God's plan for marriage.]'" That is only sexist if he is saying that the man is naturally the leader. Did he say that?

At the time, it must have been the straight reading, right?

The author is only forwarding what the Bible says. So your beef is not with the author, but actually with all religions.

Re: Ask HN: Is "Code Complete" by Steve McConnell still a recommended read?

#32
post #28

Earlier quoted context omitted.

The book's nearly 50 years old. Most books not written very recently are not going to adhere to contemporary values and mores. If you're not willing to offer generosity when reading them and pick the useful part and discard the parts that haven't aged well, then you're going to miss out on a lot of very worthwhile reading.

That's one way to look at it. Another way to look at it is: Why do we not *update* these books? This gets back into the question of copyright of course.

Because the human brain has the capacity to frame specific pieces of work in their time periods, understand the discrepancies between past and present and work around it.

I would also like to offer an additional counterpoint: Leaving work intact will, not only preserve the work "as is", but also contribute to future historians the true sociological impression that is aptly accurate for their time period.

Re: Ask HN: Is "Code Complete" by Steve McConnell still a recommended read?

#33
post #13

I read it last year and I think it's still relevant. I had planned to write on the topic. In his book, Steve McConnell advocates for PPP = Pseudocode Programming Process Basically, he says you should outlines the structure of your code first, before writing your actual code. IMHO this is even more relevant in the age of AI assisted programming. Pseudocode Programming Process is becoming Prompt Programming Process. Th…

This is why expressive programming languages matter. If your language is expressive enough, the sketch will be executable.

Expressive languages help, but for anything larger than a homework problem I would still sketch up the system elements and how they communicate on a piece of paper, then write the implementation in a high level pseudocode. My 2c.

Re: Ask HN: Is "Code Complete" by Steve McConnell still a recommended read?

#34

Most likely no! Do you really need to read a 900 page book to understand how to write good code? There might be nuggets of wisdom here and there, but you'll most likely pick them on your own as you code and grow. Problem with these books is that you tend to over-apply whatever you read. You read the fact that configurations are good, so you create a nest of abstractions to make code configurable, even when it doesn't…

Have you read the book?

I'm not done, but many ideas I got from the book made me a better programmer.

Re: Ask HN: Is "Code Complete" by Steve McConnell still a recommended read?

#35
Heck, I still use stuff I picked up from Writing Solid Code.

That book hasn’t aged as well, but it had some parts that are still quite relevant, today.

I always thought that Rapid Development was better than Code Complete.

I’ve probably read all of McConnell’s stuff (and I’ve taken a lot of Construx courses). At one time, I was quite the fanboi.

A lot of folks around here don’t seem to like him, which I find odd.

Re: Ask HN: Is "Code Complete" by Steve McConnell still a recommended read?

#36
post #5

Earlier quoted context omitted.

Agree, but sometimes looking for recent books with the same underlying message is better than going through the classic. I read the mythical man month recently and the examples often involving OS/360 development are brutally outdated. I couldn't relate and I had to force myself to finish.

The Mythical Man Month is also super anti-feminist, which I wish people talked about more if they're going to recommend that book.

I haven't read it, but what does it say about feminism?

Re: Ask HN: Is "Code Complete" by Steve McConnell still a recommended read?

#38
post #13

I read it last year and I think it's still relevant. I had planned to write on the topic. In his book, Steve McConnell advocates for PPP = Pseudocode Programming Process Basically, he says you should outlines the structure of your code first, before writing your actual code. IMHO this is even more relevant in the age of AI assisted programming. Pseudocode Programming Process is becoming Prompt Programming Process. Th…

Does anyone actually do this?

I have never seen people write pseudo code as part of the programming process.

Diagrams, comments, tests, stubs sure, but never really pseudo code.

Re: Ask HN: Is "Code Complete" by Steve McConnell still a recommended read?

#39
post #28

Earlier quoted context omitted.

The book's nearly 50 years old. Most books not written very recently are not going to adhere to contemporary values and mores. If you're not willing to offer generosity when reading them and pick the useful part and discard the parts that haven't aged well, then you're going to miss out on a lot of very worthwhile reading.

That's one way to look at it. Another way to look at it is: Why do we not *update* these books? This gets back into the question of copyright of course.

Sensitivity Readers haven't been universally popular.

[edit] With Economist link: https://www.economist.com/britain/2023/03/23/editing-roald-d...

Post reply on HN