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
Related
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 7 years ago.
Improve this question
I have come across tools like visualparadigm demo which could automatically generate code from the class diagram which is modelled in UML. Since I have no industry experience, I am curious to know whether this is the way companies start working on their projects after the system is modelled in UML. since the skeleton of the classes needed is automatically generated, I assume it is a good way to save time. If this is not the way, then why is it so?
Also Can you provide me some other tools which can automatically generate code from UML class diagrams (prefer opensource).
Are there OOP software projects which do not get started with the class diagrams, so that this method can be of no use?
Most of UML are able to generate code from UML class diagram you just have to google it and you will find them.
Concerning the way companies start working, I guess it depends of the companies but from my experience companies try to avoid useless work.
If they spend some time on modeling it is because they can use it for something for example code generation, documentation, or just because its a client request. If companies do not find any interest in modelling they simply do not use it I guess that alot of OOP do not start with models.
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#... :(
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
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 2 years ago.
Improve this question
At the moment I have about 2000 trades which are priced using excel. I have found that the sheets aren't very reliable and 4 out of 5 days will break for no reason. Also, the way the pricing sheets work is the pull the market data piece by piece, use it then delete it again. This is a nightmare if I need to re-run pricing as it is so slow.
Ideally I would love to build a GUI in a more reliable language, which is less liable to break down and faster. However, outside of excel my skills are limited.
I would like a few tabs on the GUI:
One to view the basics of the trades - type, maturity etc etc.
One to view the market data
Another to display the results of EOD p&l
All market data, trade data and static data come in XML form.
What is the best language to build this in? What kind of database could handle this data and how would it be setup?
I realise that this is a pretty big task, but its not something I want to do asap. I plan on doing it piece by piece. I'm also doing it for the experience! I would appreciate any help given!
I would recommend that you use Java. It is a very easy language to learn compared to other languages with similar capabilities. Java has a very simple GUI API called Swing that is effective and very easy to learn. It supports a similar display to excel using the class JTable. Setting up a database to work with Java is also relatively simple: you can write your own or use an SQL server.
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.