Program to develop a 3d racing game with traffic rules [closed] - programming-languages

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
Which is the best and suitable programming language that I can develop a game of racing cars along a street with other road users, like in the city streets, with traffic rules?

The standards would be OpenGL with C++, DirectX with C++ or XNA with C#/VB.
If you are new to 3D graphics and game development, XNA would have the smoothest learning curve in my opinion.

If you're new to programming in general, I suggest using a tool like Stencyl: http://www.stencyl.com/ It may not allow you to do 3D but it's an easy introduction to something that can quickly become overwhelming. Alternatively you could use Unity http://unity3d.com which is easy to get in to without too much programming.
If you're already familiar with programming languages, I suggest you use the one that you're most familiar with. Even if your most familiar language is Python, you can use PyGame or whatever to write it.
In truth, there's no "best" language, there's just different languages, each with advantages and disadvantages. Most major studio engines are written in C or C++, with a few in C#. These languages are difficult to write game engines though. If you're not already a programmer, make it easy on yourself and start with something simple :)

I prefer Java with the LWJGL library for making 3D OpenGL games. Java is also very cross-platform, but the downside is that it's kindof slow. OpenGl is also very hard to get started with

Related

What is extreme programming and when it is using? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I am new to programming and I try to research as much as possible in this field. And once I came across to this expression: "Extreme and pair programming". Pair programming is an easy term, and I found quite clear documentation about this. But extreme programming... I found some articles about it, but explanation wasn't so well. All I understood that extreme programming is an Agile development framework. But why I must use that, what is difference between this and another types of programming styles?
Can anyone explain me what is extreme programming language very clearly?
Extreme programming (often called XP) is an agile framework that was developed by Kent Beck in the 1990's.
There aren't too many people that use the whole XP framework these days, but a lot of the engineering practices it popularised are very common.
Examples include:
Pair programming
Test driven development
Continuous integration
Frequent releases
Constant refactoring
XP favours an approach of writing the minimum amount of code to solve the problem at hand. Things like optimisation and forward planning are generally a low priority. This is the 'extreme' part of extreme programming.
The idea is that you write code to solve the current requirement. If you then find you need the code to be faster, or scaleable, etc. then you refactor it.

Which programming language for multilingual Bible app? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 years ago.
Improve this question
I was wondering, in order to make a user-friendly web-based program for reading the Bible in several foreign languages, which programming language would be best to use?
Some criteria:
-Bible would be able to be read linearly. So one verse will be in English, but the line underneath the verse would be the same verse but in a different language like Chinese. So I think I would need to be able to create different databases for each language.
-Would like to make words clickable for definitions, so would need some dictionary database and be able to display several boxes at once on the program interface (one box will be just the bible text, another box would be the dictionary definitions).
Would like users to be able to drag the boxes or toggle the boxes on and off, to customize the way they want to display the features of the program.
-Would like to be able to let users create a username and password and login to their personal accounts which will save their settings and any notes they make.
I am familiar with coding but I am no expert, if you could please help me out and let me know which programming language (and maybe which functions in that programming language?) would be best to help me create what I mentioned above. Thank you so much!
In general, I would recommend finding a mature program that already does something similar and improving that. cf. http://wiki.c2.com/?TheZenOfProgramming
In particular, how would you be improving on, for example, bibleWebApp? Or The Sword Project? Or And Bible? Or BibleTime?
There is certainly an argument for writing code in order to learn, but if that is not what you are doing, the world will be better off if you apply your energy to improving existing code and not to reinventing the wheel.
Given that, the answer to your question is:
use the programming language that the mature program uses; or
use whatever programming language you want to learn about

Learning functional programming after other programming paradigms [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I have taught myself C, Python, Java and a few other procedural or object oriented languages to an intermediate degree from resouces on the internet (thanks SO :D) and in books. When I tried to learn Haskell, I couldn't wrap my head around what the code actually did.
Is there a better functional language for someone coming from a background in procedural or object oriented programming to learn? Are there any resources meant for people in my situation?
Thanks!
It's probably varies with people (and this question is bound to get closed over that), but the way I see it: there isn't a stair you need to step on before you can be within reach to Haskell.
So I'd say you're not driven temporarily off necessarily by the language, but by your sources of learning. For the only truly gentle introduction, I recommend LYAH. It keeps things within reasonable difficulty and it has some really entertaining points every now and then.
However, if you still want to almost-soften your transition, you can check out F# which isn't a functional language but it will give you a good taste of FP, and it will be very familiar to you because you still live in an OO world.
You can also check out basically any other functional language and it will give you some of the mindset (Scala, ML, etc.).
Keep in mind that I say "almost-soften", because Haskell is very different (especially because of purity), and that gives you a very logical and mathematical mindset to things and that has been very different for me than any other language I learned. It's incredible. It was much beyond learning different syntax, it's a way to think about things and I can always find myself learning more and a truly amazing part of it is that (since it's so logical, mathematical, reasonable, etc.) the new ways of thinking I acquire with Haskell don't leave me both when I use other languages and even in my personal daily life.
That being said, the only thing truly horrible with Haskell is that it ruined me for other languages. I used to like C#... :(

Haskell for Robotics [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am looking up on web about Haskell and its applications. Basically i trying to learn functional programming language and i see Haskell is very famous among them. What i want to know is, is it possible to use Haskel as substitute for c in robotics? Can i use Haskell for embedded system programming and getting data from sensors, moving the motors, implementing mathematical model that is used to design the robot and its behaviour and if possible apply machine learning algorithms?
I am just starting off in this field so if the question is naive enough, please answer like you would answer any newbie.
Update: If the Question is too broad, i would like to know the specifics. Do people compile down the haskell to the embedded hardware or use haskell as a remote control in most of the cases? Which one is more approachable using haskell? What is the general way of using haskell in hardware embedded programming? If it is only used as a remote control, how to implement genetic algorithms and machine learning algorithms using haskell? I know its too broad but i would just like to know the general usage if my requirement is such.

Reference of similar functions between Programming Languages [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I'm wondering is there is a compiled knowledge base of similar functions or functionalities between several programming languages. The reason I'm asking this question is due to the fact that one is learning a new programming language and has extensive knowledge of another, it's often difficult to know or imagine the correlation of functions between those two languages.
Obviously, if such reference exists, it would make learning a new language much easier since one only had to lookup the similar function and eventually memorize it.
Rosetta Code - user-edited wiki focused on implementing tasks in different languages
Syntax across languages - more focused on syntax
Wikipedia: Comparison of programming languages (basic instructions)
Syntax across languages is the best one. It catalogs control structures, data types, libraries, comments, and much more. Includes information about Delphi, SML, OCaml, Java, Smalltalk, C++, Ruby, Perl, Python, Lisp, PL/I, PHP, EmacsLisp, and VisualBasic.
The original wiki is quite good because its a free flowing discussion(It's not meant to be a rule based encyclopedia like wikipedia) of programming, which with its focus on history, meandering ways, flame wars, and language fanboyism (all in good fun) tells a lot about how features x in language A is basically/better/sort of equivalent to feature y in language B.

Resources