Each programming languages purpose

dragon4spy

Well-known member
Joined
Dec 22, 2003
Messages
110
Hi yo! :D Do you know how many popular programming languages are there?

I can find few langs such as, Basic Family (vb, vb.net, powerbasic, xbasic, quickbasic...), C/C++, C#, Java, Php, Perl, Delphi. I just know that vb is the most popular one because its the easiest and quite powerful. And C lang is the most messy lang.

I just wonder what are they used for? why are they popular? any feature for each lang? :D Which lang worth learning for vb.net programmers?
 
Evolution.

Compared to oldies but popular goldies, C isnt messy at all, btw.

I just say PL/1

Which language to learn?
Learn one that is either (a) very often used in your field of expertise or (b) completely different fom vb.net.

Regarding (a).

COBOL for finance industry.
C / C++ / FORTRAN for mathematical problems.
Embedded C for engineering.

Regarding b)
C - for an understanding of memory and pointers.
LISP - for an understanding of "other ways to think" and recursion.
Assembler - for an understanding og how a computer really works.

My 2c.
 
dragon4spy said:
Hi yo! :D Do you know how many popular programming languages are there?

I can find few langs such as, Basic Family (vb, vb.net, powerbasic, xbasic, quickbasic...), C/C++, C#, Java, Php, Perl, Delphi. I just know that vb is the most popular one because its the easiest and quite powerful. And C lang is the most messy lang.

Not all of those are programming languages in the strictest sense.

Im pretty sure Perl and PHP are both scripting languages, of which ActionScript (Flash) is another very popular one as well as ASP and javascript.

The reason why is because until recently, I think with some java apps and ASP.Net apps, you couldnt run a compiled language on a webpage and these are all built/intended for webpages.

Perl is mostly what you see behind older message boards, text based web programming.

PHP is newer (I think) and can do more up to date things, like accessing a database.

ASP was basically a long script your browser downloaded and ran.

ActionScript used to be nothing but a helper language for Flash, which aided mostly in the graphics/movies that flash made. I.E. it takes up much less space to tell single instance of a ball to move to 10 posistions, than to have 10 raster images of it in those positions.

ActionScript is actually comming close to a real programming language. in 2004 MX it became ActionScript v2. It now has OOP features and honestly acts like a very high level programming language.

ActionScript is bound inside of a .swf/flash graphic, which can sometimes run on your computer or directly off the internet so long as you have flashplayer. Maybe java can do that, Im not sure, but .Net cant. I think its rather handy to build an application you can just put up on your server and use anywere or download to your laptop and use there.... or have it in both places and synch up.

Now ActionScriptv2 (and v1) are both very high level languages, partially for simplicy and purpose (who needs a Internet program to reformat your hard drive?) and partially for security (again, its dangerous to have an internet app that can reformat your hard drive!)

There is also a programming language called LISP. This is used mostly for artificial intelligence.

Honestly, despite what their intended purpose is, what matters is their capabilities. If a program does what you intend to you, then its fine. But be wary that what you need when you start learning is what youre going to need in the future, otherwise youll end up learning a new language to get more functionality.

I think you could easily break it down to 3 languages to fit most purposes.

.Net, wether C# or VB, really handles everything on a PC and is the future of PCs, plus once you learn it, its easy to apply (though not 100% the same) for ASP.Net. I think you can reuse a lot of code, but you just need to replace anything that applies with a windows form with what would happen in a browser. .Net is probobly the most Rapid App builder (RAD?). You can throw down 10 controls and set their properties and have 90% of the work done for you.

Java would be a better bet currently if you want a real solid programming language, but multi platform. I know there are dreams of .Net being multiplatform, but based on the current wait, OS X and Linux will always be a few steps behind PC/Windows.

Java does a damn lot, but isnt as rapid as .Net. I happen to find it tedius... but that might be the price to pay for being multi-platform.

Flash/Actionscript. If you dont need a true hardcore language, ActionScript v2 is probobly for you. Its very similar to the .Net form builder. You have controls, you plop them down, you set the properties. Once youre done, for the most part, you can make a windows or mac executable, or publish a .swf file, which you can run on your desktop with Flash Movie Player or off the internet.

There are places where ActionScript/Flash fully surpass .Net in simplictiy. Its also half art program. You can draw objects and make them into buttons, its not so hard to create your own controls (though its pretty easy in .net also), the way its set up, as a movie reel, its VERY easy to move between forms, make things move, etc. Id say its much much easier to create a video game/animation using flash, but remember, its a much higher level language which is barely encroaching on programming status. Its performance has improved drastically, but still isnt up to .Net snuff.

If you want to build a webapp were 1000s of people use it, I wouldnt use flash.

This isnt Dissing Delphi, any of the Cs, Any other Basics or any of the other scripting languages, Im just giving my own personal opinions based on my personal experience with ActionScript, .Net and Java.

If youre strictly internet, ASP.Net, Perl and PHP are all good ideas.
 
dragon4spy said:
Anyone dreams of creating own lang? :D

I thought it would be cool to create a basic programming language for Linux, but theres not much point now. The only thing its missing is a non uber techie programming language.

I guess now they just have to port over the framework (Mono) and make an IDE for all of .NET. I think they just have one for C#.

So no, not really.

Its like recreating the wheel.

I think it would be an awesome exercise to even trace through what it takes to create C or VB in the deep down mechanics though.
 
I found that C and C++ langs are really clumsy! Languages for human programmers, but include weird syntax such as { } - # !! := ; blah blah blah. Vb syntax should have replace those langs.

Is it possible to port C++ syntax to a new lang similar to VB, and still use C++ compiler for compiling? I wish for a similar VB lang that has the same ability as C++.

Maybe someone can name it "Basic C++" :D :D
 
Last edited by a moderator:
It would probobly be easier to create a new .Net language :rolleyes:

Oh, I can 100% see the benifit of a basic language with such raw programming potential as C... about 10 years ago. Now... Make a version of Assembler that works like a basic language and Ill get back to you :D
 
It is just a dream of mine. :D :D At lease someone, please, eliminate those {} ++ := ; things in C. And so funny that the inventors of C came up with these things in their mind. Were they trying to create an ET lang for human? :D
 
Eliminating the symbols you suggest would radically alter the C and related languages, to the point where they wouldnt be C at all.
Is { ... } really much harder to read then If ... End If or Class ... End Class?
Once you get used to the symbols they are not difficult to understand and do result in more compact code, again once you understand the meaning then things like && are just as easy to read as VBs AndAlso operator.
Ultimately this is one of the advantages of .Net - if you dont like C# dont use it - pick a language you like out of all the supported ones (MS or 3rd party).
 
dragon4spy said:
It is just a dream of mine. :D :D At lease someone, please, eliminate those {} ++ := ; things in C. And so funny that the inventors of C came up with these things in their mind. Were they trying to create an ET lang for human? :D

They were trying to make a super efficient, super complete, down and dirty hardcore programming language that was by far easier than Assembler and most other languages that came before it.

Based on Cs popularity and the lack of popularity for said now dead languages, I think C proved popular and easy compared to the others.
 
dragon4spy said:
I found that C and C++ langs are really clumsy! Languages for human programmers, but include weird syntax such as { } - # !! := ; blah blah blah. Vb syntax should have replace those langs.

Is it possible to port C++ syntax to a new lang similar to VB, and still use C++ compiler for compiling? I wish for a similar VB lang that has the same ability as C++.

Maybe someone can name it "Basic C++" :D :D

Nooooooo! you have spoken like a true VB coder. Long live the {} !! as it seperates the men from the boys ;)

PB

ps only kidding (who needs oop anyway hee hee)
 
OMIGOSH!!!!!! make VB replace C, dragon whatre you drinking???? say no to drugs!!!!!
I used to be a VB programmer, but after 1 year developing in C++ and C# I will never develop a single application in VB, not even a "HELLO WORLD" app
VB is a good language... if youre a 9 yo kiddo, just for beginners, if you want to become a real human, then move to C++, there youll know what a real language is
 
I have given it a few tries already, and it, really, makes me sick. :D I will give it another shot soon, cos now im working on a few projects in vb and vb.net. :D
 
i wish i had the safe memory management of .Net with the power of the memory management in C++ and the productivity of C#.... THEN id move to C++ :P

what can i say? pointers rock! BUT writing 15 lines of code to create a window? whats that? :P
 
All languages are pretty much the same really, built on standard concepts, the key to choosing the right language for the job is dependant on how well and easy it is to accomplish a task using the given knowlege and resources.

When you master various languages as a programmer/developer, you become more flexible.

Assembler that works like VB, hmmm, good idea, its possible to create an IDE yourself, develop your own programming language syntax, include basic functionality to expand on or use any available API code combined, use the language syntax youre comfortable with, then have it all converted to lower level code through the compiler and finally into a high performance and optimized program.

It takes alot of time, patience, and conversion, but it can be done! ;o)
 
Back
Top