Hotspots: Admin Pages | Turn-in Site |
Current Links: Cases Final Project Summer 2007
Thanks for coming to my page.
I am a 3rd year CS major going for a specialization in robotics. My hobbies include the pursuit of knowledge among fine colleages like yourself.
CoWeb Assignment 3
- Pair Programming is where 2 programmers sit side by side, as the driver and the navigator. The driver actually types the code and thinks tactically about the method being created and the navigator thinks stategically about how the method fits into the class. In Pair Programming the driver and the navigator switch among themselves and trade partners frequently. This allows every to have a good understand of what is happening in the program incase some one leaves the project. Pair programming incresas software quality with impacting delivery time.
- Unit test are created to cover everything in the code and most of the time even created even before the code is written. Progress in extreme programming is closely measured by the amount of acceptance tests that pass. Acceptance tests are created from the the user stories to test their desired functionality. Unit Test also aid in refactoring which is done a great deal in XP.
- All programming languages at the very base are used to push around bits. Small talk does this on its virtual machine, which allows for easy porting of the language onto any platform, as well as a safer, and simpler control over the processor. Byte codes are the instructions of the Small talk virtual machine. It is stack based with frequent usage of push and pop commands as you can see in the code below. This is the Integer class's "+" function and its byte code equivalent.
"Refer to the comment in Number + "
aNumber isInteger ifTrue:
[self negative == aNumber negative
ifTrue: [^ (self digitAdd: aNumber) normalize]
ifFalse: [^ self digitSubtract: aNumber]].
^ aNumber adaptToInteger: self andSend: #+
33 <10> pushTemp: 0
34 send: isInteger
35 jumpFalse: 52
37 <70> self
38 send: negative
39 <10> pushTemp: 0
40 send: negative
41 send: ==
42 <9C> jumpFalse: 48
43 <70> self
44 <10> pushTemp: 0
45 send: digitAdd:
46 send: normalize
47 <7C> returnTop
48 <70> self
49 <10> pushTemp: 0
50 send: digitSubtract:
51 <7C> returnTop
52 <10> pushTemp: 0
53 <70> self
54 <26> pushConstant: #+
55 send: adaptToInteger:andSend:
56 <7C> returnTop
The widely accepted maxim "you are not your user" implies that there are many different design options that seem inituitive to the experience programmer, but can extremely inefficient to the user.
A mistake occurs when the users misunderstands how to properly execute what he wishes to do. A slip is when the user correctly formulate what he must do but makes an error in execution.
Natural mappings give a predictable link between the action in the world and the consequences.
CoWeb Assignment1 gtg514z
CoWeb Assignment2 gtg514z
Links to this Page
- Summer 2006 Who's Who last edited on 3 September 2007 at 8:57 pm by adsl-215-134-227.aep.bellsouth.net
- Snakes On A Plane last edited on 7 June 2006 at 10:21 am by lawn-199-77-212-183.lawn.gatech.edu