zacharyc
This is the website of zachary cohen (zacharyc). The name coming from the old unix idea of creating a username with first name and last initial. I’ve been using it is since the start of my career, nearly two decades ago.
This is the website of zachary cohen (zacharyc). The name coming from the old unix idea of creating a username with first name and last initial. I’ve been using it is since the start of my career, nearly two decades ago.
The book Naming Things is a book about one of the hardest problems in software engineering, the art of naming variables, classes, methods and functions. This book was recommended on another resource that I’m unable to remember. My general feeling is that this book would have been great earlier on in my software career. Many of the lessons covered are things that I have learned from other books or by making the mistakes myself....
Malcolm Gladwell wrote the book on the 10,000 hour rule, Outliners. This book proposes that 10,000 of work at anything will lead to success at that. That the people who are real masters have spent this time. If you read more closely, there is more than just 10,000. It’s not that anyone who puts in 10,000 hours will be a success, it’s that talent alone is not enough. You need to put in the work as well....
I’m in the stage of my career where I’ve seen a lot of projects from other developers. I’ve inherited good code and bad code, and there a couple of big gotchas I’ve been wanting to talk about. Comments Function Heading Comments When I was in college, I used to write three line comments for everything //------------------------------ // This Function Squares Pi //------------------------------ float square_pi() { ... } While this comment isn’t wrong, it is unnecessary....
Swift is a new langauge and still being developed. It is unfair to fully compare develping in swift to developing in Objective-C as the language was very well developed before my experience with it. Still, learning and programming in Swift, as a developing language, has some real challenges. The most challenging of which is that Swift versions can change the validity of previous only examples. I’m really working on learning Swift and trying to master the langauge and libraries around it....
There are two farmers markets a week on the island. Both are called the Aquidneck Growers Market, and have roughly the same vendors. Many are local to Rhode Island and you can get all sorts of great stuff there. I’m the worst farmer’s market patron. I bring my over stimulated dog and pretty much only go to get a coffee and come home. My two favorite places are: Single Fin Coffee Co (only on Saturdays), and Navad Bakery....