views:

123

answers:

4

Lets say I wanted to create some software that models a society. People exist, meet, have children, learn, share experiences etc. Which programming language should I use?

I would assume that a dynamic language that enables me to swap out methods and/or implement types at run-time would reduce the amount of plumbing that i'd otherwise have to create in a statically typed language. Am I correct?

+1  A: 

try designing the interaction model first, then choosing a language. Paper prototypes for feasibility might be instructive as well. If you haven't done the design, it is wildly premature to select the implemenation platform and language.

Steven A. Lowe
Isn't the design somewhat dependant on the tools one is using? Or do you mean the requirements?
Quibblesome
@[Quarrelsome]: the logical design absolutely should not depend on the tools, it should determine the tools to use! The requirements and design will determine the language features that are important.
Steven A. Lowe
Oh so you mean the requirements conceptual/high-level design. I apologise, I thought you were referencing the software design.
Quibblesome
+1  A: 

Sounds like ruby. Dynamic, Swap out methods. Here are some of the feature ( from Wikipedia )

  • Object-oriented, "everything is an object"

  • Five levels of variable scope: global, class, instance, local, and block

  • Exception handling

  • Iterators and closures (based on passing blocks of code)

  • Native, Perl-like regular expressions at the language level

  • Operator overloading

  • Automatic garbage collecting

  • Highly portable Cooperative

  • multi-threading on all platforms using green threads

  • DLL/Shared library dynamic loading on most platforms

  • Introspection, reflection and metaprogramming

  • Large standard library

  • Supports dependency injection

  • Supports object runtime alteration

  • Continuations and generators

Brian G
+1  A: 

In my earlier question I mentioned Repast, Swarm, and MASS as agent-based modeling frameworks. They are useful tools to model societies of agents.

rics
Finally a response that gives me something else to look into. TY! :D
Quibblesome
The Repast framework (at least version 3 what I was using) has some nice demos on modeling societies like heat bugs, or rabbit populations.
rics
A: 

hey so for a project i want to create a model society and then make the people them same and use it to talk about communism. i am new to all of this but is this the sort of societal model that u guys are talking about? if not than hahah sorry but anybody know how i could do something like this?

bob g