PDA

View Full Version : help choosing a language



g0tp0t
11-05-2010, 04:17 PM
i really want to get in depth and really good at a language. i love pascal for its simplicity but it cant multi-thread. i would use java but its confusing.

the things I'm looking for in a language are in order from important to not so important:


multi-threading
not overly complicated to learn
event driven
has an IDE with IntelliSense and syntax highlighting


Feels like im using one of those dating websites >.< lol

Craig`
11-05-2010, 05:54 PM
it really depends on what you want to do, seems you've learned the basics from Pascal. I, along with many others would recommend Python as a language, and then go from there for what you need.

"I would use Java but it's confusing"
When first learning a language, programming in general, of course it will be confusing, it comes with time and confusion that you truly start to learn to be a better programmer.

Just dive in, go to the official Java tutorial and learn, practice, make your own stuff. codingbat is a neat website for Python/Java practice, along with using problem sites like Project Euler for coding problems.

I'm not programming expert by far, and have only significantly coded in Ruby and JavaScript, I personally like the Ruby language, however some hate it, personally choice really.

Some will probably recommend C/C++, saying that it's "The Language", that it's the most powerful etc, but I'm guessing Higher Level languages will suit your needs, for now.

~ Craig`.

Shuttleu
11-05-2010, 07:37 PM
i will recomend something here
try java again BUT use the guides on youtube posted by TheNewBoston
http://www.youtube.com/watch?v=Hl-zzrqQoSE&feature=&p=D902BEE92668BEC7&index=0&playnext=1

good luck

if all else fails, learn Objective C, i have been learning it recently and its really easy to learn

~shut

g0tp0t
11-05-2010, 08:13 PM
ll. i meant figuring out java alone was confusing. guides wouldbe amazing. also, i learned thwe basics from visual basic,. so i know two languages. both almost equally useless

i luffs yeww
11-06-2010, 01:31 AM
Python. :) Or Perl, Lisp, C, C++. HTML/CSS/JavaScript are good to know too (yes, I know, HTML and CSS aren't really LANGUAGES, brool story, co., etc.), especially if you want to get into web based things. PHP, MySQL, general Linux stuff is good as well.

g0tp0t
11-06-2010, 04:29 PM
im earning java, but i want to learn a language that compiles to exe also. right now im thinking c# since i know V Basic .NET but id rather learn something different. i like variety :P

the common sense in pascals code is amazig =]

i tried delphi but it isnt enough like pascal and i dont think it multithreads.

i luffs yeww
11-06-2010, 06:38 PM
"the common sense in pascals code is amazig =]

i tried delphi but it isnt enough like pascal and i dont think it multithreads."

wat

Pascal basically is delphi.

Nava2
11-06-2010, 07:29 PM
im earning java, but i want to learn a language that compiles to exe also. right now im thinking c# since i know V Basic .NET but id rather learn something different. i like variety :P

the common sense in pascals code is amazig =]

i tried delphi but it isnt enough like pascal and i dont think it multithreads.

Check out Python, FreePascal, and Java/C++. All are platform independent and are great.

I feel like you are really confused by programming in general.. I would sincerely suggest you check out the python tutorials and work with them. Multi-threading is the least of your worries. In fact, mutli-threading creates much harder code than you are probably comfortable with at this point.

Also, all the languages I mentioned multithread.

E: Delphi is pascal.. but with syntactical differences to allow for OOP programming. The difference between Delphi and PascalScript is that Delphi uses ``unit-style'' programming.

g0tp0t
11-06-2010, 10:00 PM
lol? im using multithreading in java already. im not a coplete nub. python is way low. i never learned it, i learned visual basic instead.

and i know that delphi is pascal, its just different enough that it sems like id have to relearn. if im gonna relearn it i might as well learn a newer language.

@luffs, i think its more that delphi is like pascal :P

Daniel
11-06-2010, 10:40 PM
A good starting point is always C. You'll thank me later ;)

i luffs yeww
11-06-2010, 10:56 PM
@luffs, i think its more that delphi is like pascal :P

http://en.wikipedia.org/wiki/Comparison_of_Pascal_and_Borland_Delphi

g0tp0t
11-07-2010, 02:36 AM
lol, id ben through a ton of that stuff for many languages before i posted here :P. so far i think im gonna learn c# or C++

@danial, i know that c++ and c# are microsofts version. did you mean that or the original c language?

i luffs yeww
11-07-2010, 04:06 AM
Well he said C, so I'd assume he meant C..

Nava2
11-07-2010, 04:40 AM
lol? im using multithreading in java already. im not a coplete nub. python is way low. i never learned it, i learned visual basic instead.

and i know that delphi is pascal, its just different enough that it sems like id have to relearn. if im gonna relearn it i might as well learn a newer language.

@luffs, i think its more that delphi is like pascal :P

Why is Python low? Python is one of the most flexible and high-level languages to date. Visual basic is useless in comparison!

Also, C# != C++. C++ is the OOP variant of C. http://ca.answers.yahoo.com/question/index?qid=20061122102044AAB1m0o Check out the "Best" answer, the others are generally incorrect.

Lastly, you did not give delphi a chance. Delphi is not the same as FPC, FPC is a better (IMO) language variant of Pascal than Delphi purely based on its philosophies. I firmly believe it will over take Delphi eventually.

i luffs yeww
11-07-2010, 04:52 AM
:p I haven't even seen anything made in Delphi except for SCAR.

g0tp0t
11-07-2010, 01:15 PM
lol, i had thought c was old and the new languages were beter for the new computers. don't know why i thought that. :P

also, if python s that good i think ill learn it. i thought it was just a beginners language.

i luffs yeww
11-07-2010, 05:51 PM
Definitely not a beginner's language. :) It's easy to learn and get used to (basic stuff), but it can do most everything that you'll need for even the biggest projects.

g0tp0t
11-08-2010, 06:17 PM
and now that i know what python is im learning it =]

i thought it was weak :P

Nava2
11-09-2010, 04:00 AM
and now that i know what python is im learning it =]

i thought it was weak :P

Ah, young grasshopper, ignorance is not bliss! :)

Read before you make assumptions ;)

g0tp0t
11-09-2010, 12:49 PM
beginners learn python and the code iv ever seen was verysimple so i assumed. assumptions are bad :P

thanks for telling me how amazing python is =]

and ive decided i like javas multi OS compatability and i like that i can easily incorporate apps into webpages. =P

Nava2
11-09-2010, 01:52 PM
beginners learn python and the code iv ever seen was verysimple so i assumed. assumptions are bad :P

thanks for telling me how amazing python is =]

and ive decided i like javas multi OS compatability and i like that i can easily incorporate apps into webpages. =P

Python can do that too.. Python is fully platform independent and can be used for web-dev much like PHP.

For "apps", Java is probably better though.

g0tp0t
11-16-2010, 12:30 AM
lol. ive decided to learn java and it is completely amazing. i love it :P

is it as strong as c++?

Smartzkid
11-16-2010, 12:43 AM
Personally, I know C++, Java, and C#, and I would pick C# for most projects.

Powerful language
Great IDE & debugger
Strongly typed
Multiplatform
Easy UI (Windows Forms)
Powerful UI (WPF)

While neither Java nor C# are as fast as C++, the perceived speed difference is often minimal - and when you need the extra horsepower of native code, you can always write said routine in C++ and call it from your main application.

g0tp0t
11-16-2010, 12:50 AM
can you do as much with c++ as java though?

Nava2
11-16-2010, 12:54 AM
can you do as much with c++ as java though?

Put it this way: the Java compiler is written in C++.

Also C++ >> C#. C++ has far more uses and is not limited to Windows/Mono.

g0tp0t
11-16-2010, 01:14 AM
if java is written in c++ then it is as good as or not as good as c++, but it cannot be better. so is it the same as c++? or not as good

HyperSecret
11-16-2010, 01:26 AM
C++ is a "better" language when thinking like you are. C++ is a lower-level language (doesn't go through a VM in that sense, like java's JVM).

Each language has their pluses, it really depends on the project. If you get a good grasp of OOP and programming concepts in general, then you should be able to transfer knowledge to all languages. Just learn the syntax and some specifics and you are on your way.

g0tp0t
11-16-2010, 02:05 AM
lol. ty =]

i luffs yeww
11-20-2010, 05:54 AM
Java isn't C++ by the way. It's quite similar, and was originally called "C++ ++ --" (or just C++++)



C++ was designed mainly for systems programming, extending the C programming language (http://en.wikipedia.org/wiki/C_%28programming_language%29). To this procedural programming (http://en.wikipedia.org/wiki/Procedural_programming) language designed for efficient execution, C++ has added support for statically-typed (http://en.wikipedia.org/wiki/Static_typing) object-oriented programming (http://en.wikipedia.org/wiki/Object-oriented_programming), exception handling (http://en.wikipedia.org/wiki/Exception_handling), scoped resource management (http://en.wikipedia.org/wiki/RAII), and generic programming (http://en.wikipedia.org/wiki/Generic_programming), in particular. It also added a standard library (http://en.wikipedia.org/wiki/C%2B%2B_Standard_Library) which includes generic containers and algorithms.
Java was created initially to support network computing (http://en.wikipedia.org/wiki/Network_computing). It relies on a virtual machine (http://en.wikipedia.org/wiki/Virtual_machine) to be secure (http://en.wikipedia.org/wiki/Computer_security) and highly portable (http://en.wikipedia.org/wiki/Porting). It is bundled with an extensive library designed to provide a complete abstraction of the underlying platform. Java is a statically typed object-oriented language that uses a syntax similar to C, but is not compatible with it. It was designed from scratch, with the goal of being easy to use and accessible to a wider audience.

From http://en.wikipedia.org/wiki/Comparison_of_Java_and_C%2B%2B.

Shuttleu
11-20-2010, 03:08 PM
Java was created initially to support network computing.
acctually java was written for things like washing machines and radios and stuff like that.
it was then extended to what we have today

~shut

EDIT: the reason why it was made for things like washing machines are because writing the programs for them was expensive, so java (at the time oak) was written so that the compiler would run on the hardware, then instead of someone having to learn the cpu specific instructions, they could learn java and be able to program for almost any consumer device

i luffs yeww
11-20-2010, 07:34 PM
That's from Wikipedia. Not my opinion. :p