realbasic-nug
[Top] [All Lists]

Re: Counting Lines of Code

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Counting Lines of Code
From: James Milne <james dot milne at mac dot com>
Date: Sat, 31 Jul 2004 18:57:00 +0100
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <EE4EAFE0-E2B9-11D8-8EF9-000A95A5E76E at freaksw dot com> <3B5B1DC7-E2C5-11D8-A2EC-003065DA9C96 at chipersoft dot com> <924E2BD9-E30B-11D8-8452-000393DB941A at mac dot com> <172C9A33-E317-11D8-B5A4-000A95A5E76E at freaksw dot com>

On 31 Jul, 2004, at 18:28, Seth Willits wrote:

On Jul 31, 2004, at 9:06 AM, James Milne wrote:

VideoStorm - 232,015 lines

There is also a plugin which supports the RB code, and it weighs in at
around 50,000 lines of C++ code.

That's pretty awesome James. Proof that REALbasic is up to the task of large projects! Or does it all go out the window if you blink wrong?

It's actually remarkably stable. I've been fairly happy with RB on this project. The only real problems I've had are with record locking in Valentina, which has really been pissing me off! And Valentina 2.0 has been in 'beta' for years, so I can't migrate to it. I'm considering switching to another database back-end.

To be honest, a lot of the code is pretty repetitive. The networking code is the worst; I think I've made a design mistake in my network infrastructure because I have to write too much code as I add 'actions' to the software. This means the code grows rapidly, but it follows a fairly repetitive pattern. I'm considering writing a code generator which can automatically generate the required support code, saving my poor hands from typing, and me from making copy-and-paste mistakes :-)

Composite window drawing has been a little hit or miss. I've had problems with contents of windows going missing, etc. And the change to RB's threading model almost prevented the project from moving up from RB 5.2, because high-performance threading is of great importance to this app. Thankfully 5.5.3 has redressed a lot of those problems.

However, scalability hasn't been all that bad. I wouldn't have wanted to have attempted this in RB 2.1.2 :-) RB has come a long way in the last few years.

--
Kind Regards,
James Milne

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>