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 website contains information about me and my interests. Blog posts range from software engineering to personal thoughts. Most posts are relatively brief, but every once in a while I’ll dive into a topic. I also have a list of my projects.
I will be updating the content of this site as regularly as I can.
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....
I’ve been writing iOS software since 2014 when I joined Cabulous (which later rebranded to Flywheel) as their first in house iOS developer. I took this job without really knowing what I was doing. I had done a little bit of work with Objective-C in college (mostly just reading the Hillegass book), but that was before iOS had been released and before people were writing apps. Much of my experience before that was in C, C++, and even JavaScript....