24 ms·
Ask HN: Is there a book on writing good code?
I’ve been working as a full-stack developer for almost two years now, and I want to write better code. How can I learn how to code like i’m working at a top software company ? I would like to know the best practices that they use. I’m curious about any book recommendation or resource.
- hendrikmakait 5y agoAre there any specific aspects you'd like to improve around your code? A few classics that focus on improving "general code style" would be: - "Clean Code" (https://www.oreilly.com/library/view/clean-code-a/9780136083238/ https://www.oreilly.com/library/view/clean-code-a/9780136083...) - "The Pragmatic Programmer" (https://pragprog.com/titles/tpp20/the-pragmatic-programmer-20th-anniversary-edition/ https://pragprog.com/titles/tpp20/the-pragmatic-programmer-2...) EDIT: Since you are talking about coding like at a top company, one book that has been sitting on my shelf for a while, but I haven't gotten around to reading yet is "Software Engineering at Google: Lessons Learned from Programming Over Time" (https://learning.oreilly.com/library/view/software-engineering-at/9781492082781/ https://learning.oreilly.com/library/view/software-engineeri...)
- feyndev 5y agoThank you ! It's my birthday soon, just ordered the last one :) I learned how to code at a bootcamp. It's fast and it's not deep knowledge (they teach you the "how" not the "why"), I'm learning fundamentals of CS on my own to bridge the gap. But practically, a few things I'd love to learn : 1. How to write optimized code (best practices ie. in terms of space and time complexity) 2. What is a great software development process ? Design -> Code -> Test ? That kind of process I'm very curious about. Learn how, if I launched a product, should do in terms of steps of development.