![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
It struck me, that there does not seem to be a single language that serves many purposes, suitable for - business - databases - numerical / statistical applications - textual apps - web / publishing - multimedia C++ comes close, as does Java and C#. C++ seems more suited to technical engineering and others are suited to scripting / publishing. I may be wrong, but what else is there ? |
#3
| |||
| |||
|
|
It struck me, that there does not seem to be a single language that serves many purposes, suitable for - business - databases - numerical / statistical applications - textual apps - web / publishing - multimedia C++ comes close, as does Java and C#. C++ seems more suited to technical engineering and others are suited to scripting / publishing. I may be wrong, but what else is there ? |
#4
| |||
| |||
|
|
It struck me, that there does not seem to be a single language that serves many purposes, suitable for - business - databases - numerical / statistical applications - textual apps - web / publishing - multimedia C++ comes close, as does Java and C#. C++ seems more suited to technical engineering and others are suited to scripting / publishing. I may be wrong, but what else is there ? |
#5
| ||||
| ||||
|
|
The real question is: Why would you want only one language? |
|
Programming languages are tools of the trade. Which ONE tool would you pick to build a house? Hammer? Saw? Pipe Wrench? other? See what I mean? |
|
If you need multiple tools to build something simple like a house, why limit yourself to just one tool (programming language) in building a software application? |
|
That said, I might choose ADA if I was stuck on a desert island and could only have one programming language. Ed |
#6
| |||
| |||
|
|
Ed Prochak wrote: The real question is: Why would you want only one language? Because it would be integrated. |
|
Not really, most languages have objects and functions. |
|
Say you have C / C++ and SQL, this is a common combination. |
#7
| ||||
| ||||
|
|
Ed Prochak wrote: The real question is: Why would you want only one language? Because it would be integrated. |
|
Programming languages are tools of the trade. Which ONE tool would you pick to build a house? Hammer? Saw? Pipe Wrench? other? See what I mean? Not really, most languages have objects and functions. |
|
If you need multiple tools to build something simple like a house, why limit yourself to just one tool (programming language) in building a software application? Say you have C / C++ and SQL, this is a common combination. Then typically there is a layer between the two an API, this is OK but it makes for bloat. |
|
... Yes it does limit you to what the API can do. If it is seemless then you end up with say embedded strings in the C++ which gets messy or a huge manual basically copying the SQL language. OK you cannot compress the functionality of two languages into one without loosing something. Point taken. |
#8
| ||||
| ||||
|
|
Because it would be integrated. Back in the late 70's and early 80's when personal computers first came out, there werre many attempts to write the ONE DO ALL program that would include everything. It sounds to me like you want the ONE DO ALL language. Sorry, but there is no such thing. If you stick to only MS windows platforms, you might come close with VB. |
|
Not really, most languages have objects and functions. So? You said you were interested in one language that does it all. If such a language exists, it likely does not follow common paradigms. Just consider how you might have to write your program in some glorified do all language. Would it be OO like java, procedural like C, or nonprocedural like SQL? |
|
whichever paradigm style it is, there will be cases where you would just like to write parrt of your program in another style. And here's the final clincher: what do you do about the lowest level programming? How would assembler fit into that do all language? Which assembler? x86? Sparc? PowerPC? 8051? PIC? I would bet most bloat is at the application level, not due to linking in other libraries. |
|
... Yes it does limit you to what the API can do. If it is seemless then you end up with say embedded strings in the C++ which gets messy or a huge manual basically copying the SQL language. OK you cannot compress the functionality of two languages into one without loosing something. Point taken. We are all here to learn. Ed |

#9
| |||||
| |||||
|
|
"Greg" <imutate (AT) hotmail (DOT) co.uk> writes: Ed Prochak wrote: The real question is: Why would you want only one language? Because it would be integrated. I think in this case Common Lisp or Scheme would be your only choice (which other language have the ability to seemlessly change/extend their own syntax). But what do you mean with "integrated"? Not really, most languages have objects and functions. What about first class functions, multiple inheritance, multiple dispatch, closures, anonymous functions, (static) type inference or dynamic type system, real macros (in the Common Lisp sense, not this C like crap), unification, logic variables, concurrency based on data flow, meta object protocol, introspection, available libraries,... |
|
There is more to programming than just putting a class with some methods together. |
|
Say you have C / C++ and SQL, this is a common combination. But maybe the worst? |
|
Take a look at Common Lisp and CL-SQL |
|
(AllegroCache may be interesting also) or Haskell and HaskellDB. I think these are really illuminating. |
#10
| |||
| |||
|
|
Say you have C / C++ and SQL, this is a common combination. But maybe the worst? |
![]() |
| Thread Tools | |
| Display Modes | |
| |