|
I use C# and C++
Rarely use C
So therefore... To C or not to C
|
|
|
|
|
I use C# mainly, but there has few other also. Like VB6/VBA, ASP.Net with C#, SQL, ActionScript, Java Script and very rarely VB.Net also.
Suman
|
|
|
|
|
C++ , C# , SQL and VHDL give me all I need. I hadn't taken SQL into account so I selected 3, though.
EDIT: I also use Befunge for advanced parallel processing from time to time, but it is not on the Wikipedia's listing. What an unfairness...
Greetings - Jacek
|
|
|
|
|
The most popular choice is 4 to 5? Really? I use just one, C#, and SQL but that doesn't count.
I would have thought most people would be the same. Are you sure you're not just showing off?
Regards,
Rob Philpott.
|
|
|
|
|
T-SQL was listed as a language, so that's 2. I regularly use just C# and T-SQL as well.
|
|
|
|
|
Rob Philpott wrote: I would have thought most people would be the same. Are you sure you're not just showing off?
Depends on what you do, really. At my previous job I was regularly using:
C++ for server-side code
VBA for the MS Word client side (yes, our client app was MS Word )
Javascript - for browser scripts
plus non-programming languages such as HTML, XML, SQL...
Occasionally, I was also using some C# for automated tests and reading some Python code.
Nowdays it is mostly C++ plus occasionally some Perl.
|
|
|
|
|
Given that in the course of a normal week I use or have to work with C#, VB.net, JavaScript, T-SQL, PL-SQL for just web development I am not surprised to see 4 to 5 being the most popular.
In my case it is actually higher as I work with systems that are written in VBScript (as well as an derivative of ECMAScript) and even develop on 4D databases using its internal language.
As to SQL not counting, that is correct but the procedural based extensions do count. <attempts to dodge incoming flames>
|
|
|
|
|
I want to know who uses 31 or more!
Mark D. Collins
|
|
|
|
|
What's more there are 4 of these idiot voters so far
|
|
|
|
|
SQL is a programming language. It may not be general-purpose or Turing complete, but, in my opinion, that doesn't matter.
|
|
|
|
|
I beg to differ. I think a language must be Turing complete before it's promoted to a programming language. What's the point if there are things you just can't do with it...?
--
Kein Mitleid Für Die Mehrheit
|
|
|
|
|
Jörgen Sigvardsson wrote: here are things you just can't do with it...?
That's what BASIC is for...
(ducks for cover)
|
|
|
|
|
PIEBALDconsult wrote: SQL is a programming language
Ain't. It is a query language.
PIEBALDconsult wrote: It may not be general-purpose or Turing complete, but, in my opinion, that doesn't matter.
It matters
|
|
|
|
|
"Computer programs (also software programs, or just programs) are instructions for a computer." -- Wikipedia
That's not a very good definition (as I recall, my early teachers also included things like "step-by-step" etc.), but it gets the idea across.
SQL is a language for specifying instructions to a computer -- as far as I'm concerned, that makes it a programming language.
|
|
|
|
|
PIEBALDconsult wrote: That's not a very good definition
There we agree...
PIEBALDconsult wrote: SQL is a language for specifying instructions to a computer -- as far as I'm concerned, that makes it a programming language.
HTML also specifies instructions to a computer - how to render a web page. Does it make it a programming language?
Or how about RTF - also a set of instructions for a computer, but I don't know anybody who would call it a programming language.
One way or another, there must be some well-defined line that divides programming languages from "the rest of the world", and that line is Turing completeness. Standard SQL is not Turing complete, therefore it is not a programming language. PL/SQL and T-SQL are Turing complete and they are programming languages.
|
|
|
|
|
Documents written in HTML, XML, RTF, etc. are data, not programs.
Nemanja Trifunovic wrote: that line is Turing completeness
I just don't see it that way nor any reason to define it like that.
Nemanja Trifunovic wrote: PL/SQL and T-SQL are Turing complete
Then you may assume that when I say "SQL" I am referring to the SQL-92-compliant parts of PL/SQL and T-SQL.
|
|
|
|
|
|
Only select is a query.
Insert, update, delete, create, drop, truncate, alter, etc. are not queries; they are program statements.
|
|
|
|
|
OK, to end this (very interesting ) discussion, I suggest you take a look at the SQL Standard[^]. You'll notice that SQL is called "Database Language SQL" and if you scroll down to chapter 4.20, you'll see how SQL interfaces with "standard programming languages". I guess you can make a case that SQL can still be called a "non-standard programming language" but the SQL standard itself never does that.
|
|
|
|
|
Well then that changes my answer to 2 if you leave out scripting languages like sh.
John
|
|
|
|
|
What? No. I didn't say that scripting languages aren't programming languages.
|
|
|
|
|
I should have clicked the link before answering..
C++
SQL
sh
bash
awk
sed
John
|
|
|
|
|
It's easy!
1. c++ - app dev
2. perl - scripts
web dev:
3. php
4. sql
5. javascript
doesn't include c#, java, asp used on occasion.
such fun - I'm glad to have autocomplete.
cheers
|
|
|
|
|
In my case the 4-5 is largely for legacy app support.
Also, not everyone has a language as flexible as C# that you can use in the web, console, windows and mobile space.
|
|
|
|
|
- C#
- C++
- C
- PHP
- Python
- JavaScript
Oops, that's more than 5...
I doubt it. If it isn't intuitive then we need to fix it. - Chris Maunder
|
|
|
|