We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>
|GDB announcement||Dated: Feb 17, 15|
The activity of Graded Discussion Board (GDB) will be open on February 23, 2015. Students will be able to post their comments for 48 hours only.
A number of programming languages have been discussed in this course. Broadly these languages are categorized in two classes:
Each of the mentioned classification has its own merits and demerits e.g. statically typed languages enhance runtime performance but at cost of flexibility and vice versa.
Being a programming languages expert, you are required to discuss which type of language will you favor/support? Justify your answer with solid reasons.
Note: A mere comparison of static and dynamic typed languages is not required. Instead, mention your choice and support for a particular class with logical reasons.
Further, try to provide precise and to the point comments avoiding irrelevant details. For any query, please send your emails at CS508@vu.edu.pk.
+ Click Here To Join also Our facebook study Group...How to Join Subject Study Groups & Get Helping Material?..
.+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)
+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)+ Click Here to Search (Looking For something at vustudents.ning.com?)
plz start the discussion about this gdb.....
A language is statically typed if the type of a variable is known at compile time. This in practice means that you as the programmer must specify what type each variable is. Example: Java, C, C++,c#
The main advantage here is that all kinds of checking can be done by the compiler, and therefore a lot of stupid bugs are caught at a very early stage.
Most scripting languages have this feature as there is no compiler to do static typechecking anyway, but you may find yourself searching for a bug that is due to the interpreter misinterpreting the type of a variable. Luckily, scripts tend to be small so bugs have not so many places to hide
koi to kar da solution upload :(
Static Typing: The languages such as Java and Scala are static typed.
The variables have to be defined and initialized before they are used in a code.
for ex. int x; x = 10;
Dynamic Typing: Perl is an dynamic typed language.
Variables need not be initialized before they are used in code.
y=10; use this variable in the later part of code
Im in favor of dynamic programing language bcz it gives freedom to programer.
wat u all says?
dynamic programming language give free to programmer but they mostly create unfamiliar bugs due to interpreted the variable at run time, e.g Float, Boolean or string u not be specifier they may b causes of memory leakeg
100% correct answer is
favor Statically typed languages