in previous projects we haven't worked with object orientation.
objects are usually instances of classes, and are used to interact with one another to
design applications and computer programs. some examples of object-oriented programming
languages are python, ruby, php, java, c++ etc...
in this assignment we were supposed to
paint up a class diagram (I used argoUML for this)
add two classes to an already existing python file (a file that consisted of a class that calculated the circumference
and area of a circle
add the needed code snippets to the second python file
sounds fuzzy enough? I know, and to begin with I had trouble understanding what the assignment
actually was about. but it got clearer once I sat down and looked down at the already existing
files that we was about to develop further.
the classes, one more time, consisted of three different classes with calculations for area, circumference,
height for circles, triangles and rectangles. there were predefined values for the different
objects, which was the values that the area, circumference etc. was calculated for.
this was what the result looked like after running one of the python files
I'd love to hear from you!
I love sales, marketing and the web. if you need a intern or have a trainee
spot open - don't hesitate to give me a call!