November 16, 2007 at 7:12 pm · Filed under PHP, programming, rant
I’m starting to grow tired of pleading to do things the right way. The last encounter was with another develop in the team I’m working about a new abstract layer added to an already overloaded framework. The system in case, built in Symfony, uses Propel’s Criteria to retrieve data from the storage engine (Mysql database). Normally you would have something like this:
c = new Criteria();
$c->add(AuthorPeer::FIRST_NAME, “Karl”);
$c->add(AuthorPeer::LAST_NAME, “Marx”, Criteria::NOT_EQUAL);
$authors = AuthorPeer::doSelect($c);
// $authors contains array of Author objects
The added complexity comes in the form of yml file that contains the logic for the Criteria (unfortunately, I won’t be able to give you an example).
Now, my question is: WHY? Why another layer of complexity? I think I know why: it is a side effect of having model logic in the controllers. But that is another battle…
So I say… I’m tired!
October 26, 2007 at 1:04 pm · Filed under management, programming
I’ve been subscribed to Clicky for some months now. Today I’ve received my monthly invoice and I’m trying to decide if I need this service.
Clicky is similar with Google Analytics, which is free, and it does not have any new exciting features; maybe the Spy mode (real time tracking) and all the ajaxy pages. So, why shall I pay when I can get it for free. Ok, the monthly fee is small ($2.99) but it’s still a fee.
I’ve decided to renew my membership. I see it as a way to support small businesses and alternatives. It is always good to see fresh solutions!
So, well done Clicky and good luck!
September 11, 2007 at 12:48 pm · Filed under evolution, management, programming, ruby
AFTER 2 WEEKS OF VOTING:1. HTML/CSS 7.6
2. Javascript 7.3
3. Ajax 7.2
4. Python 6.9
5. Java 6.7
6. C# 6.7
7. Ruby 6.2
8. .Net 6.0
9. C++ 5.4
10. C 5.1
More here.
September 7, 2007 at 12:56 pm · Filed under programming, rant
From: Linus Torvalds linux-foundation.org>
Subject: Re: [RFC] Convert builin-mailinfo.c to use The Better String Library.
Newsgroups: gmane.comp.version-control.git
Date: 2007-09-06 17:50:28 GMT (18 hours and 3 minutes ago)
On Wed, 5 Sep 2007, Dmitry Kakurin wrote:
>
> When I first looked at Git source code two things struck me as odd:
> 1. Pure C as opposed to C++. No idea why. Please don’t talk about portability,
> it’s BS.
*YOU* are full of bullshit.
C++ is a horrible language. It’s made more horrible by the fact that a lot
of substandard programmers use it, to the point where it’s much much
easier to generate total and utter crap with it. Quite frankly, even if
the choice of C were to do *nothing* but keep the C++ programmers out,
that in itself would be a huge reason to use C.
More here