Download presentation
Presentation is loading. Please wait.
1
Programming Languages in the 2000s Judith Bishop University of Pretoria, South Africa jbishop@cs.up.ac.za
2
Position of the course Third year, optional, popular 70-150 students Students know Java and C++ well They have some C# (web oriented) No other languages Compilers is an optional course too
3
Aims of the course COS333 appreciate the rich history familiar with paradigms skills in new languages appreciate principles exposed to the new trends
4
Previous course pre-2004 Progression of imperative languages -variables -types -procedures -concurrency etc Other paradigms -object-oriented -functional -logical -scripting -high performance History
5
Timeline 2001C# 1.0 2002 2003 Spec# 1.0 2004Java 1.5, Comega 2005C# 2.0, Spec# 1.0.6 2006Java 6, C# 3.0, LINQ
6
Advances in 2001 1.Auto boxing and unboxing 2.Properties 3.Foreach and switch on objects 4.Indexers 5.Enumerated types with IO 6.Events and delegates 7.Generics
7
Advances in 2006 The LINQ extensions to the.NET Framework provide Comega’s language- integrated query, set, and transform operations to C# and Visual Basic IEnumerable expr = from s in names where s.Length == 5 orderby s select s.ToUpper();
8
Current course 2004+ Imperativelanguages Other paradigms Object-oriented New paradigmsHistory 15,16, notes 1,2 11,12, notes 5,6,7,8, 9,10,14,13 notes
9
Student Assessment Set up website to teach one language from another Include only five features Write two examples (one given, one free) Students look forward to this assignment See examples at http://demos.cs.up.ac.za
10
Sample Oops Question The difference between what can be accomplished in generics in C++, Java and C# is largely based on their implementation. Describe the three approaches and indicate especially how each handles the case of generic instantiation of primitive types. Comment on the potential efficiency (in space and time) of the different approaches.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.