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
Could this be true about the C language ?
- codewalker
- Enthusiast

- Posts: 331
- Joined: Mon Mar 27, 2006 2:08 pm
- Location: Spain
Could this be true about the C language ?
There is a difference between knowing the code and writing the code.
May the code be strong in your projects.
May the code be strong in your projects.
Re: Could this be true about the C language ?
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!
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!
C provides the infinitely-abusable goto statement, and labels to branch to. Formally, the goto is never necessary, and in practice it is almost always easy to write code without it. We have not used goto in this book. -- K&R (2nd Ed.) : Page 65
-
Zach
- Addict

- Posts: 1677
- Joined: Sun Dec 12, 2010 12:36 am
- Location: Somewhere in the midwest
- Contact:
Re: Could this be true about the C language ?
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...
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...
- netmaestro
- PureBasic Bullfrog

- Posts: 8452
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
Re: Could this be true about the C language ?
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.
BERESHEIT
Re: Could this be true about the C language ?
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.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..
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."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.
Re: Could this be true about the C language ?
On the same site you will find:Zach wrote:I am sick of hearing about OOP everywhere I go on the web.
I don't know why it makes you sick. It's just how it is. Most developers seem to findCategories 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%
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 ?
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.
-
Zach
- Addict

- Posts: 1677
- Joined: Sun Dec 12, 2010 12:36 am
- Location: Somewhere in the midwest
- Contact:
Re: Could this be true about the C language ?
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.
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 ?
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++
If MS adopted objective c it'd probably end up toppling c and c++
Windows 11, Manjaro, Raspberry Pi OS


Re: Could this be true about the C language ?
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.
quidquid Latine dictum sit altum videtur
