The beauty of Cocoa

Date Arrow  July 8, 2008

(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 [...]

Tagged   Apple · Cocoa · Code · Humour · Opinion · SoftwareComments  Add Your Comment (4)

Amazing Xcode

Date Arrow  May 29, 2008

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 [...]

Tagged   Apple · Code · OpinionComments  Add Your Comment 

ImageMagick

Date Arrow  May 28, 2008

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 [...]

Tagged   Code · Open SourceComments  Add Your Comment (2)

Symfony con MAMP

Date Arrow  May 14, 2008

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 [...]

Tagged   Code · Open Source · TechnologyComments  Add Your Comment (2)

On the Need of Minimalist Polyglots

Date Arrow  May 12, 2008

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 [...]

Tagged   Code · Opinion · Project Management · Quality · SoftwareComments  Add Your Comment (2)

Playing with HTTP libraries

Date Arrow  March 26, 2008

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, [...]

Tagged   Code · How to?Comments  Add Your Comment (5)

Templates

Date Arrow  March 13, 2008

Did you knew this is possible in C++? I didn’t.

void Fun()
{
class Local
{
//… member variables …
//… member functions …
};

// … code using Local …
}

This [...]

Tagged   Code · OpinionComments  Add Your Comment (5)

Blow your mind

Date Arrow  March 11, 2008

Take a careful look at this:

#include

class Gadget
{
public:
void sayHello() const
{
std::cout

Tagged   Books · CodeComments  Add Your Comment 

Null References

Date Arrow  March 7, 2008

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, [...]

Tagged   Cocoa · Code · Ruby on RailsComments  Add Your Comment (4)

Now this is ridiculous

Date Arrow  March 3, 2008

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 [...]

Tagged   Code · OpinionComments  Add Your Comment (12)