Page 1 of 1
Could this be true about the C language ?
Posted: Sat Oct 15, 2011 4:11 pm
by codewalker
Hi,
I found this interesting article about the C language growing in popularity.
It says that Java is losing ground and C is on the rise.
http://www.tiobe.com/index.php/content/ ... index.html
C is mostly used as a procedural language like PureBasic. Think about that one
if you consider that Windows, Linux and Mac are for the most part written in C.
greetings
cw
Re: Could this be true about the C language ?
Posted: Sat Oct 15, 2011 6:32 pm
by Blood
This isn't news, it's always been the case.
The reason C is used a great deal even today is that there's so much legacy code to maintain and that C is very small and fast but everyone knows this already!
Re: Could this be true about the C language ?
Posted: Sat Oct 15, 2011 8:48 pm
by Zach
I welcome any upswing in use of C and other procedural languages.
I am sick of hearing about OOP everywhere I go on the web. I have nothing against it, it can be useful and make life easier in certain cases..
I've said it before, but I feel OOP is not taught to people, it is
indoctrinated. It would not surprise me to learn of people harping about the wonders of C / Procedural after they almost killed themselves trying to write a program in C++/Java.
OOP is a great tool; but it is only one of many.
It would be nice to see PB on that list one day, even if it were in last place...

Re: Could this be true about the C language ?
Posted: Sat Oct 15, 2011 11:39 pm
by netmaestro
I see Powerbasic is one that they track, but it's not in the top 100. Usage is probably barely measurable at all given that language #50 has less than 1/4 of one percent of the market.
Re: Could this be true about the C language ?
Posted: Sun Oct 16, 2011 12:05 am
by GWarner
Zach wrote:I am sick of hearing about OOP everywhere I go on the web. I have nothing against it, it can be useful and make life easier in certain cases..
Agreed, I know C++ because we use it at work, but that doesn't mean I like it. To me OOP just adds unecessary complexity and bloat to the program. I, for one would love to see OOP get tossed in the circular file and a return to good old easy ot read and understand C.
netmaestro wrote:I see Powerbasic is one that they track, but it's not in the top 100. Usage is probably barely measurable at all given that language #50 has less than 1/4 of one percent of the market.
PowerBasic probably made it on that list only because it's been around since the DOS days. I would guess the reason it's usage is so low is because it's still largely a DOS basic with a few pieces of C added, variable types for instance, and some Windows trappings added so they can sell it as being for Windows. For example if you wanted a modulo function you had to use the modulo statement in a user defined function. A common practice that should not have been necessary, there are other similar "failings."
Re: Could this be true about the C language ?
Posted: Sun Oct 16, 2011 5:39 am
by Danilo
Zach wrote:I am sick of hearing about OOP everywhere I go on the web.
On the same site you will find:
Categories of Programming Languages
In the tables below some long term trends are shown about categories of languages.
Object-oriented statically typed languages have been most popular for more than 5 years now.
Code: Select all
Category Ratings Oct 2011 Delta Oct 2010
Object-Oriented Languages 55.9% +0.7%
Procedural Languages 38.0% -1.5%
Functional Languages 4.1% +0.4%
Logical Languages 2.0% +0.4%
I don't know why it makes you sick. It's just how it is. Most developers seem to find
the OOP concept useful, so it is logical you see it everywhere on the web.
That does not mean you have to use it for yourself, but you could try to accept it.

Re: Could this be true about the C language ?
Posted: Sun Oct 16, 2011 6:59 am
by xorc1zt
java is really useful for team projects. you develop more faster and more easier for less costs with java than C or even C++. the OOP and packages system is a real benefit for huge team projects. OOP is a must for all modern languages but the user should have the choice to use OOP or not.
Re: Could this be true about the C language ?
Posted: Sun Oct 16, 2011 7:23 pm
by Zach
It's not about my personal feelings of OOP. Which by the way, I do accept and have no problem with. As I've said before I had a lot of fun learning Python.
What I am sick of is the OOP mentality of zomg everything must be done in C++ u lamerz, C++ rawks!!
Which goes back to my opinion on OOP not being taught but indoctrinated into people. They try and use it for everything, even when it adds unneeded complexity and coding to even a simple program. Because it is all they were taught, it is all they know how to use and all they believe in.
Re: Could this be true about the C language ?
Posted: Sun Oct 16, 2011 9:06 pm
by idle
c will remain popular simply because it's generally faster and more portable than C++
If MS adopted objective c it'd probably end up toppling c and c++
Re: Could this be true about the C language ?
Posted: Sun Oct 16, 2011 9:28 pm
by freak
My guess is that the wide use of C comes from the embedded world. When programming micro-controllers, its still the best tool. There is not much point in writing business applications in C anymore.