Welcome! Log In Create A New Profile

Advanced

Assigment 2 Q1b

Posted by Ivan Behounek 
Announcements Last Post
Announcement myUnisa availability 21 to 24 March 2019 03/17/2019 02:24PM
Announcement SoC Curricula 09/30/2017 01:08PM
Announcement Demarcation or scoping of examinations and assessment 02/13/2017 07:59AM
Announcement School of Computing Short Learning Programmes 11/24/2014 08:37AM
Announcement Unisa contact information 07/28/2011 01:28PM
Assigment 2 Q1b
July 07, 2010 10:27AM
Let me post the first message for this forum of 2010, eventually! He he

I'm struggling with the following question (problem set question 5 on page 363):
Should C's assigning operations (for example, +=) be included in other languages (that do not already have them)? Why or why not?

Any thoughts on this q would be appreciated.
Re: Assigment 2 Q1b
July 17, 2010 09:30PM
The question is asking whether compound operations should be included in languages that do not already have them? Why(Discuss the advantages of compond operatios) or why not(Discuss the disadvantages of compound operations)?
avatar Re: Assigment 2 Q1b
October 15, 2010 04:13PM
Its syntactic sugar that allows more terse expressions. However they have side effects sometimes that are unexpected.

 
  ,= ,-_-. =.
 ((_/)o o(\_))
  `-'(. .)`-'
      \_/
http://ilanpillemer.com
Entia non sunt multiplicanda praeter necessitatem
Sorry, only registered users may post in this forum.

Click here to login