Josh Simmons wrote:
> So basically sure you could do anything with enough money, but why
> would you do it the hard way?

Because it will pay off in the longer term.

When I started writing web apps in D, it looked hard. I'd have to
get it compiling for the production server. Have to get my app
to interact with the web server somehow. Have to talk to the
database server. Have to read input from the browser.

That's just to get started. Then, it'd have to interact with
existing code, talk to external web services (http client and
oauth), maintain user sessions, and do html templating in some
kind of remotely sane way.

I might have to explain to clients and investors the advantages
too, and deal with whatever else comes up as time goes on - images,
desktop ports, and more ended up being needed too.


Sounds like a lot of effort when I could just write PHP or any
number of other existing things right now.


But, I knew that would pay for itself over time... and it was
actually even /better/ than I expected.

Writing those libraries went faster than I thought, partially
thanks to being able to use C libraries, and partially because
it wasn't really that hard anyway once I sat down and got started.

Compiling ended up being trivial - just a "make -f posix.mak"
on the server environment did the job making my dmd.

Justifying the choice was simple too: it's significantly more
productive, both to code and to write, than the alternatives,
and someone reasonably competent can learn it in a single day.


This up front investment has paid for itself a hundred times over.


Is my project representative of the OP's scenario? I don't know for
sure. But I'd be willing to place a big bet on yes.

Reply via email to