I'm starting over. Over there.
I'm starting over. Over there.
“Can I take some time to clean up this code? It is horrendous.” The answer should always be yes to this question. However, often times we find ourselves up against walls in the form of budgets, time, due dates and expectation and so the typical “powers that be” at companies often veto the request. My advice to you, dear developer, is to never ask for permission for things you know are vital to your work.
You know your work environment better than I do so perhaps you can ask this question and immediately have the full support of your team. Sad to say that many aren’t so fortunate. They’ll ask their boss if they can take some time to clean up their code, make it efficient and extensible and, while the boss may recognize the need for such tasks, ultimately the boss will simply say “maybe we can do that later”.
Why is this the typical reaction? Because bosses don’t have to read, edit and support the code.
This is folly and every developer knows it. Bosses, (if you’re reading this) putting off a few hours worth of code clean-up now will only turn into many hours or days in the future. So by allowing your developers time to do this much needed code maintenance you’re actually saving your company money. But don’t worry – they’re not going to ask you for permission anymore. They’re just going to do it.
I heard my dad say recently, "sometimes it is better to ask for forgiveness than to ask for permission." I think that can be applied here pretty nicely.
Today Apple released Xcode 4. We're pretty excited over here because Xcode 4 is the first Xcode release to support git natively. What's even more, new projects default to git repos!
As you work on your project, you can see the git status of the files showing A and M in the sidebar:
Of course if you want to share your project with others, GitHub is an awesome place to do that now that you'll be working with git.
Objective-C projects have slowly been growing popularity here on GitHub, and it's now on the cusp of being one of our Top 10 languages.
If you're looking for some great Objective-C projects, take a look at some of my favorites:
- JSONKit - A brand new (and insanely fast) JSON Library
- Mogenerator - Generate classes from core data models
- UIDickbar - In case you'd like to improve the experience of your iOS apps.
- MyStyledView - A great base for styling views in AppKit.
- JAListView - A UITable-inspired NSTableView replacement for AppKit.
Hopefully with the release of Xcode 4 we'll see an explosion of Cocoa on GitHub (hey, I can dream).
Looking through WP-LESS source to find some inspiration on how to generate customized CSS by way of a WordPress plugin that can be stored on disk and served by HTTP. Mostly interested in how to determine the theme name and the upload (on disk) and upload URL (for the CSS link). Code snippet below courtesy of Oncle Tom.
Digging ext-scheduler! Fits a very well for a project I am currently working on. It seems to be very flexible and has been pretty easy to work with so far.
Share Your Color Ideas & Inspiration.
COLOURlovers is a creative community where people from around the world create and share colors, palettes and patterns, discuss the latest trends and explore colorful articles... All in the spirit of love.
Interesting color browsing site.
One can use a combination of locate_template and load_template to determine whether or not a theme provides certain files. This can be useful for plugins that want to be able to provide templates and provide a way for a theme to override them.
No-Bullshit Guide to
As a beginner to the world of Objective-C, this site looks pretty helpful. Will see how it works out in practice.
Also, love the style of this site.