.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
The Star and the Crescent- Save $9.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

Reply
 
Thread Tools Display Modes
  #1  
Old April 18th, 2007, 12:20 AM

MaxWilson MaxWilson is offline
Major General
 
Join Date: Mar 2007
Location: Seattle
Posts: 2,497
Thanks: 165
Thanked 105 Times in 73 Posts
MaxWilson is on a distinguished road
Default Re: I want everything!-EVERYTHING!

[Off-topic but perhaps interesting to some]

"Rewrites Considered Harmful." This is such a common meme in the programming community that I'm having trouble locating the article I originally read on the subject, but here are two good articles, one short and one long:

http://www.ronkes.nl/blog/?2005-04-15-neverrewritecode

http://www.neilgunton.com/doc/rewrites_harmful

Redesign is good, refactoring is good. Rebuilding from the ground up tosses out years of accumulated design experience and bug fixes that you'd forgotten were necessary. If a program needs a redesign, do it a piece at a time as much as possible and test continuously so you know instantly when a refactoring breaks the existing functionality, because it's the functionality and not the prettiness of the code that matters most. (Pretty code helps you add NEW functionality, but that's later.)

-Max
__________________
Bauchelain - "Qwik Ben iz uzin wallhax! HAX!"
Quick Ben - "lol pwned"

["Memories of Ice", by Steven Erikson. Retranslated into l33t.]
Reply With Quote
  #2  
Old April 18th, 2007, 12:26 AM
HoneyBadger's Avatar

HoneyBadger HoneyBadger is offline
General
 
Join Date: Oct 2006
Posts: 3,445
Thanks: 85
Thanked 79 Times in 51 Posts
HoneyBadger is on a distinguished road
Default Re: I want everything!-EVERYTHING!

Well, I don't know much about the functionality of specific langages-how versatile *is* "plain old" C? If it works-and it'll work in the future, why change it?
__________________
You've sailed off the edge of the map--here there be badgers!
Reply With Quote
  #3  
Old April 18th, 2007, 02:33 AM

MaxWilson MaxWilson is offline
Major General
 
Join Date: Mar 2007
Location: Seattle
Posts: 2,497
Thanks: 165
Thanked 105 Times in 73 Posts
MaxWilson is on a distinguished road
Default Re: I want everything!-EVERYTHING!

Pretty versatile. It has some weaknesses, such as no runtime type protection, but you can do object-based programming, some object-oriented programming, block-structured, and regular old procedural programming. It interfaces well with tons of other languages. It's about as portable across platforms as Java is, which is to say you still have to be careful about hardware-dependent stuff. I'm aware of no compelling reason why a legacy project which is already in C should be rewritten in another language.

That said, I personally would never in a million years choose to start a new project in pure C unless the only other option was assembly (e.g., writing hardware drivers or software for NASA satellites with special hardware). The lack of runtime type safety makes me nervous (I'm counting things like dangling pointers as a type safety problem here), and it's also a rather verbose language. There's pros and cons, and I'm turned off by verbosity in the same way that I'm turned off by nations with capital-only mages. There, back on topic.

-Max
__________________
Bauchelain - "Qwik Ben iz uzin wallhax! HAX!"
Quick Ben - "lol pwned"

["Memories of Ice", by Steven Erikson. Retranslated into l33t.]
Reply With Quote
  #4  
Old April 18th, 2007, 10:51 AM
Olive's Avatar

Olive Olive is offline
Sergeant
 
Join Date: Nov 2004
Location: Montpellier, France
Posts: 208
Thanks: 3
Thanked 2 Times in 2 Posts
Olive is on a distinguished road
Default Re: I want everything!-EVERYTHING!

I'd be happy with a variable allowing to change the aspect ratio of the display for 16/9 or 16/10 screen owners.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 12:46 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.