How to get Havok 4 and other upgrades...
|
Draco18s Majestic
Registered User
Join date: 19 Sep 2005
Posts: 2,744
|
09-21-2006 14:11
From: Gigs Taggart I really don't want to get personal here, but maybe you shouldn't comment on this sort of thing until you've had more experience than a 10 week class in programming. I've had several years of instruction in various languages, I only mentioned the class (10 weeks btw, is a full quarter) because it's the first class where I made anything tangible and sharable, as opposed to: "Look! I made a program that can convert from celcius to fereheight!"
|
Haravikk Mistral
Registered User
Join date: 8 Oct 2005
Posts: 2,482
|
09-21-2006 15:31
From: Draco18s Majestic "Look! I made a program that can convert from celcius to fereheight!" My God, they made you do that too? I've another three years in my programming course, the main Java stuff has passed pretty damned quick, sometimes I think it's TOO easy a language to learn after scripting in PHP for so long, just doesn't seem hardcore enough after PHP's hand-holding. But then it's easy to waste huge amounts of time trying to find an error in C and derivatives of C. As an aside and back on topic, if SL were coded with strict adherence to the OOP architecture, it would be laughably easy to write a new physics module and drop it in, since all you need to do is add conversions for equivalent functions, compile and you're done (at least the basic upgrade part, no new stuff).
_____________________
Computer (Mac Pro): 2 x Quad Core 3.2ghz Xeon 10gb DDR2 800mhz FB-DIMMS 4 x 750gb, 32mb cache hard-drives (RAID-0/striped) NVidia GeForce 8800GT (512mb)
|
Ordinal Malaprop
really very ordinary
Join date: 9 Sep 2005
Posts: 4,607
|
09-21-2006 15:42
From: Draco18s Majestic I've had several years of instruction in various languages, I only mentioned the class (10 weeks btw, is a full quarter) because it's the first class where I made anything tangible and sharable, as opposed to: "Look! I made a program that can convert from celcius to fereheight!" Yes. Well. Many people here have been programming in various languages quite literally for decades. Argument from authority isn't likely to impress. (And for the record, I like OO stuff.)
|
Draco18s Majestic
Registered User
Join date: 19 Sep 2005
Posts: 2,744
|
09-21-2006 22:36
From: Haravikk Mistral My God, they made you do that too? I've another three years in my programming course, the main Java stuff has passed pretty damned quick, sometimes I think it's TOO easy a language to learn after scripting in PHP for so long, just doesn't seem hardcore enough after PHP's hand-holding. But then it's easy to waste huge amounts of time trying to find an error in C and derivatives of C. Yes, and in at least three classes for various languages. My first class, an assembler class, and again when I got to a four-year college in a class that taught 7 different languages at once (and the prof. being the head of the dept didn't realize that his teaching methods and class model didn't work--even when only three groups (2 people each) turned in *anything* for the final). I'm beyond that now, I changed my major to Digital Media Arts and Design--we ALWAYS produce something worth holding onto. OK, not always, didn't keep much from a few classes (photography, Interactive Web (mostly because of its size), and timeline design, but if we'd actually finished the animatic that I'd've kept (wasn't enough time left in the term)). From: someone As an aside and back on topic, if SL were coded with strict adherence to the OOP architecture, it would be laughably easy to write a new physics module and drop it in, since all you need to do is add conversions for equivalent functions, compile and you're done (at least the basic upgrade part, no new stuff). True.
|
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
|
09-22-2006 07:56
From: Draco18s Majestic *cough* A structure is part of OOP. A Class (OOP at its finest) is merely a structure with a few other bits tacked on. Neither classes nor structures are found in all object oriented programming languages.
|
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
|
09-22-2006 07:58
From: Haravikk Mistral Actually that's not entirely true either with the ability to create static objects (ie you can access all the methods without having to create an instance of that class) to easily share code between many different classes/files, so I think at the moment all major programming languages to an extent support all styles of programming. The key is learning to use the right ones at the right time =) I think you misunderstood what I was saying, but I can see how you misunderstood it... sorry for not being clearer. I will try and explain better in a later message, but I don't have time right now to get into it.
|
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
|
09-22-2006 08:02
From: Haravikk Mistral As an aside and back on topic, if SL were coded with strict adherence to the OOP architecture, it would be laughably easy to write a new physics module and drop it in, since all you need to do is add conversions for equivalent functions, compile and you're done (at least the basic upgrade part, no new stuff). Um... This gets to the issues of object model and class hierarchy. If you design your API (libraries, frameworks, classes, whatever) well and you guess right about what the future holds, this is true... but it's true regardless of whether you used OO design or some other component scheme. If the API for the physics engine changes, and you guess wrong, you can find your class hierarchy locking you into some very inefficient designs. Factoring a problem into components is an art. OO makes it easier to do, but it doesn't make it any easier to decide where to break the problem up.
|
Haravikk Mistral
Registered User
Join date: 8 Oct 2005
Posts: 2,482
|
09-22-2006 10:35
From: Argent Stonecutter Factoring a problem into components is an art. OO makes it easier to do, but it doesn't make it any easier to decide where to break the problem up. True, but if it's easier to do, then it's still an advantage  I guess if SL v2.0 were to be anything, it would be a complete re-write with all the same functionality and (in theory) zero bugs. Re-written in such a way that it will be much easier to develop for in future and so that all parts of it are modules so you can drop them and drop in new ones easily. A lot of stuff in SL does seem that way, as we can turn off a lot of stuff in debug without any noticeable trouble in doing so, so maybe they're headed that way. I suppose the main advantage of an easy, well architectured program is that bugs shouldn't wreak havoc on other areas of the program, which seems to be the case still atm with SL
_____________________
Computer (Mac Pro): 2 x Quad Core 3.2ghz Xeon 10gb DDR2 800mhz FB-DIMMS 4 x 750gb, 32mb cache hard-drives (RAID-0/striped) NVidia GeForce 8800GT (512mb)
|
Jopsy Pendragon
Perpetual Outsider
Join date: 15 Jan 2004
Posts: 1,906
|
09-22-2006 12:07
From: Gigs Taggart Don't throw away LSL. I hate OOP. Yes, I know I'm in a minority, but I fully believe OOP to be a hype-fed fad that has no technical merit. LSL could really use some improvement, but there's no need to throw it away and throw away the skillbase of hundreds of skilled LSL programmers in the process. Just add some better data structures to it and it'll be fine. I agree. I always kind of figured LL avoided putting in inherent data structures more advanced than lists because they're too easily mis-used by fledgling scriptors and would undoubtedly cause additional sim lag. I just wish that list functions weren't so dang slow.
|
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
|
09-22-2006 13:43
If lists were first class types, that would help a lot! list foo;
foo[3] = 10; /// instead of foo=llListReplaceList(...); llDialog(message,foo[4..17],...); // Instead of a sublist call.
|
Draco18s Majestic
Registered User
Join date: 19 Sep 2005
Posts: 2,744
|
09-22-2006 22:47
(I'm haivng trouble today....) heck ditch list and just use integer myArray[5] = {1,2,3,4,5}; char myCharacterArray[3] = {'a','b','C'};
etc.
|
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
|
09-23-2006 08:59
From: Draco18s Majestic integer myArray[5] = {1,2,3,4,5}; char myCharacterArray[3] = {'a','b','C'};
etc. Lists are more versatile than arrays. Making lists a first class type would give you the same capability as arrays while still allowing inserts and appends. One of the most powerful languages of all time has nothing but lists as a data type.
|
Draco18s Majestic
Registered User
Join date: 19 Sep 2005
Posts: 2,744
|
09-23-2006 10:21
Well, as long as we get array-like usage, I don't really care.
|
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
|
09-24-2006 09:03
We're not going to get array-like usage, because LL isn't going to make any changes in the LSL syntax until after the mono switch. They already said that.
|