The trend in newer languages is to replace explicit pointers with implicit refer
ID: 3532300 • Letter: T
Question
The trend in newer languages is to replace explicit pointers with implicit references. Which languages take this approach? Take a position on whether is this is a good language design strategy or not. Support your argument with an explanation that discusses the advantages and possible limitations of the alternate approaches.
Another related issue is whether the language allows objects to be allocated on the stack or only on the heap. Among C++, Ada, Java and C#, which languages give the programmer the freedom to choose? Is allowing the programmer this freedom a good language design strategy or not? Take a position and defend it.
Explanation / Answer
ach language has more demand in a specific domain, for example , Java and C#.NET are similar and are mostly used in web programming using databases. C++ is used for hardware intensive coding. Perl, JSP, Ruby on Rails, PHP etc are used for website development. Moreover, Java has 3 editions JME (java for mobile), JSE (Java for Desktop application), JEE (Java for server side). I totally agree with Justin ,C is structured language but difficult to learn for a beginner as compared to object oriented languages like Java.
I think in the sense that C# is more of a multi-paradigm language rather than forcing a single paradigm(OOP) like in JAVA. It is a good thing actually, because it gives more freedom for its programmers.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.