(Highly geeky post ahead. You’ve been warned!)
I have found the very message that summarizes the beauty of Cocoa in a single word; see by yourselves, hereunder in line 47:
#import
// The interface of a person
@interface Person : NSObject {
NSString* firstName;
NSString* lastName;
int age;
}
@end
// The [...]
Apple · Cocoa · Code · Humour · Opinion · Software
Add Your Comment (4)
Xcode is amazing. Of all the IDEs I’ve used (and this is, as always, a personal opinion, having used Visual Studio since version 6, Eclipse, Kdevelop and others) it’s the one I prefer. And today I found another reason to like it.
I’ve noticed this: when I use Xcode on a single-processor machine (such as a [...]
Apple · Code · Opinion
Add Your Comment
ImageMagick is a cool toolkit; not only it’s a complete set of command-line applications, ported to Windows, Mac and Linux, supporting hundreds of different image formats, it’s also a C++ library that you can use in your own applications!
On Mac OS X, I installed it via MacPorts using the all-time classic:
sudo port install ImageMagick
Then I [...]
Code · Open Source
Add Your Comment (2)
estuve jugando un rato con symfony y MAMP, y esta bastante bueno, aunque hay un par de cosas que no me gustaron. aqui van unos comentarios que te podran ser utiles.
me puse a leer las instrucciones de instalacion, y despues encontre el tutorial, de donde saco gran parte de lo que escribire en este articulo.
ahi dice [...]
Code · Open Source · Technology
Add Your Comment (2)
Many companies, at some point of their history, ask themselves a simple question: what programming language should I use? The answer to this question is tricky, and has big, big consequences, for every single line of code of your future products will be written, read and suffered by it. This single choice defines the level [...]
Code · Opinion · Project Management · Quality · Software
Add Your Comment (2)
It’s fun to find out how to tackle the same task in different programming languages; in this case, it’s all about doing HTTP requests over a network: fortunately, there are networking libraries in virtually all major programming languages. In my current project, I’m generating wrappers easing the access to the core of the project itself, [...]
Code · How to?
Add Your Comment (5)
Did you knew this is possible in C++? I didn’t.
void Fun()
{
class Local
{
//… member variables …
//… member functions …
};
// … code using Local …
}
This [...]
Code · Opinion
Add Your Comment (5)
Take a careful look at this:
#include
class Gadget
{
public:
void sayHello() const
{
std::cout
Books · Code
Add Your Comment
There’s an interesting discussion going on these days on Ruby blogs about, basically, how to avoid one of the most common, annoying, easy-to-create bugs in any programming language: calling a method on a null reference (or pointer, depending on your language).
This single issue happens all the time, in garbage-collected and non-managed languages, static and dynamic, [...]
Cocoa · Code · Ruby on Rails
Add Your Comment (4)
Generics in JavaScript.
Who came up with this? Let’s put things in context: JavaScript is a dynamic language. It turns out that this characteristics deeply upsets many people, particularly those who prefer to rely on a compiler to check their code for them before running it. It turns out that these guys also have a hard [...]
Code · Opinion
Add Your Comment (12)