Category: Better Coder
-
Continuous Learning by Reading
I was slipping… I got my B.S. in Computer Science from NJIT after four years. I spent another two years there and got my M.S., in CS as well. In between, I got my first full-time job. I can say that everything was going well. What could be better? Yet, not realizing it, I was…
-
Coding Style — from Slashdot
I checked out the entry on Slashdot about the Code Reading book (very good book, BTW). Scrolling down, I came across an interesting discussion about coding style. I found the two entries that I list below very insightful. What’s the point here? Good developers write code that is readable. Good developers know how to tackle…
-
What is good code?
I’ve heard many definitions, but the one below, by Kirk Knoernschild, seems closest to my heart. Quality code is code that: can adapt to change performs well is error free is as simple as possible does what my customer needs On a related not, here’s what Robert Martin, a software craftsman, has to say how…
-
Improve, Not Degrade
A lot of times we get to work on an existing system. We’re lucky if the system is of high quality: easy to read, easy to understand, and easy to maintain. A lot of times, though, we get a system that’s messy: long methods, complex code. Anotherwords, the code smells. We are asked to make…
-
What is Good Code?
I recently discovered a pretty good discussion on what “good code” is. The original author, Bill Carlson, specified quite a few good points. Points that according to him make the code good. Before I list the summary of the points, let me just say that if you are interesting in writing quality code, I think…
-
Debugging
Do you use a debugger? It seems like people that were exposed to programming without a debugger are against it. Their take: if you read the code, you will be able to understand it better and find any mistakes in it fast. I agree to a point, but debuggers are tools that help you become…
-
A Pragmatic Quick Reference
You’ve probably heard about the Pragmatic Programmers — Hunt and Thomas — and their famous book: The Pragmatic Programmer: From Journeyman to Master (I’m currently reading it). I really recommend this book — I’ll do a formal review later, after finishing it. Anyway, in that book, they have quite a few really good — pragmatic…
-
Your Code Sucks
Most likely, it does. Here is an article, Why Your Code Sucks by Dave Astels that will tell you why it does. Read the article as I think it’s great. After you read it, make sure you verify your code according to all of the points. Dave says that your code sucks if it meets…
Recent Posts
- Hello world!
- The Software Craftsman
- Write Debuggable Code!
- Effective Programming: More Than Writing Code
- Fundamentals of programming
Tags
2010 2011 abstraction advanced Books code concepts Craftsmanship design patterns encapsulation goals gof grasp immutability innerclass Java javascript jpa learning patterns practicing quality Quotes reading recommended reference solid tdd testing unclebob
Comments
Good blog! I really love how it is simple on my eyes and the data are well written. I'm wondering…
Hi, this is a comment. To get started with moderating, editing, and deleting comments, please visit the Comments screen in…