Linked by Thom Holwerda on Tue 12th Oct 2010 21:52 UTC
Java "Oracle and IBM today announced that the companies will collaborate to allow developers and customers to build and innovate based on existing Java investments and the OpenJDK reference implementation. Specifically, the companies will collaborate in the OpenJDK community to develop the leading open source Java environment."
Permalink for comment 444985
To read all comments associated with this story, please click here.
RshPL
Member since:
2009-03-13


OO paradigm is a super-set of procedural programming, thus it is obvious that the same functionality can be achieved in a procedural language.

I would say that is rather a mindset of designing an application or a library.


In a broader sense, any currently used paradigm can be implemented in an assembler, but does that mean that we should use assemblers for everything?

Hmm .. not. See pure functional languages. ;)


The question is why would you bother to use C to emulate C++ (unless you have to for some reason, e.g. for backward compatibility or to work around compiler limitations)?

Actually this question is pretty valid. One can code in C++
in a way that is very clean avoiding all the shitty complicated syntax and also making use of more strict type checking and const correctness. C++ is in not even slower in C in a pure sense. If you do OOP in C and do parallelism it will the same speed as virtual methods in C++.
However, what I heard about C++ is that it adds so much to the syntax landscape that it encourages very shitty design.
I think it's the same argument as with Perl / Python.
Python encourages one clean syntax, while with Perl programs
can take a form of an ascii art. ;)


"Now, whether -you- consider that true object oriented language (as it requires some additional foot work to implement objects), is irrelevant.

It's very relevant because it is not a matter of opinion. C is not object-oriented. Period.
"
Well .. it's a strange situation then .. C is a language with no object-oriented design in mind but it allows for designing your programs with object-oriented design. ;)

Besides, that OO-C thing is just the bit that caught my eye. When someone claims that C is the way to go for web development, I naturally assume that they don't have a clue. Call it a prejudice, but I'm rarely wrong.

In the world where web apps are barely secure even though they are written in high level languages like Java, the last thing we need it to return to buffer overflows, dangling pointers, etc.

While C would not be perfect for Web Development one could image a library that could even do garbage collection and be
relatively easy to use. I think writing web apps in C could be a somewhat achievable given a good library.
With C++ however the possibilities for convenient Web Dev are endless .. all the language features you can utilize.

Reply Parent Score: 0