From: stephens@asc.slb.com (Anne Stephens)
Newsgroups: comp.lang.c++
Subject: OO Programming Survey
Date: 11 Nov 92 21:45:04 GMT
Distribution: usa
Organization: Schlumberger Austin Systems Center
NNTP-Posting-Host: ash.asc.slb.com


I am currently working on my Master Thesis which involves looking at the
conversion for a graphics renderer from C to C++. I am interested in finding
information on what problems I might encounter during this conversion and
whether or not such a conversion is a good idea. To achieve this I am
gathering information on the advantages and disadvantages of object oriented
programming and possible methods for converting C code to C++.

If you have experience programming in an object oriented language and have the
time and inclination to fill out the survey below and email it to me, I would
appreciate it. My email address is: stephens@asc.slb.com

The survey will be referenced in my thesis. Please make sure
there is nothing in your comments that you do not want to be made public.

The survey is geared towards programming in C and C++ but if your experience
is with Smalltalk or another object oriented programming language replace the
references to C++ to references to the other language. Of course please feel
free to add detailed comments and specific examples to any question if you
feel it is approriate as this would be most useful. I will summarize the
results of the survey and post it to the group.


Section 1 Personal Experience:
-------------------------------
Question 1. How many years have you been programming in C?

Question 2. How many years have you been programming in C++?

Question 3. What other object oriented programming languages do you have 
	    experience with? 

Question 4. What's the maximum number of lines of C code you have written 
	    in a single project?

Question 5. What's the maximum number of lines of C++ code you have written 
	    in a single project?

Question 6. What kind of applications have you built using C? 

Question 7. What kind of applications have you built using C++? 


Section 2 Development tools:
-----------------------------
Question 1. What C++ development tools do you have available? 

Question 2. How good/useful would you say that these tools are?

Question 3. What C++ libraries do you have available?

Question 4. How useful are these C++ libraries?


Section 3 Organization's experience:
------------------------------------
Question 1. Approximately how many lines of C code were there in the largest
	    program developed by your organization?

Question 2. Have the C programs developed by your organization generally met 
	    their specifications (both in performance and function)?

Question 3. Approximately how many lines of C++ code were there in the largest
	    program developed by your organization?

Question 4. Have the C++ programs developed by your organization generally met 
	    their specifications (both in performance and function)?


Section 4 Programming in C++:
------------------------------
All of the questions below refer to a comparison between C to C++ ie. Is C++ 
more difficult to learn than C etc.

Question 1. Would you say that learning C++ was:
	a) easier b) about the same c) more difficult.

Question 2. In general is an application in C++:
	a) slower b) about the same c) faster 

Question 3. In general does an application in C++ use:
	a) less memory b) about the same c) more memory


Section 5 Advantages & Disadvantages of Object Oriented Programming:
-------------------------------------------------------------------- 
All comparison questions refer to a comparison between object oriented
programming and functional based programming (structured or otherwise).

Question 1. Does using an object oriented language make program development:
	a) more difficult b) makes no difference c) easier

Question 2. Does using an object oriented language usually result in design
	    time being:
	a) longer b) about the same c) shorter


Question 3. Does using an object oriented language make fault tolerance:
	a) decrease b) makes no difference c) increase

Question 4. Does using an object oriented language reduce code
	    redundancy:
	a) not at all b) a small amount b) significantly

Question 5. Does using an object oriented language make program 
	    understandability:
	a) harder b) about the same c) easier

Question 6. Does using an object oriented language make debugging:
	a) harder b) not much difference c) easier

Question 7. Has using object oriented programming resulted in a increase in the
	    ease of maintainibility?

Question 8. Has using object oriented programming resulting in large amounts
	    of code reuse?

Question 9. Has using object oriented programming resulted in code which
	    is easier to evolve?


Section 6 Converting to a different language:
---------------------------------------------
Question 1. Have you ever converted a program from one language to another?

Question 2. Why was this conversion done?

Question 3. Do you think conversions between languages are a good idea?


Section 7 Converting from C to C++:
-----------------------------------
Question 1. Have you ever attempted to reimplement an existing C program in 
	    C++?

Question 2. Were you able to reuse any of the old C code? What percentage 
	    of the C code was reused? 

Question 3. Did you use a particular method of conversion? 
	    What method was used?

Question 4. What problems did you encounter in attempting to reuse the old C 
	    code?

Question 5. Do you think a conversion from C to C++ is a good idea?


Section 8 Other Comments:
-------------------------

--
Anne Stephens			email: stephens@asc.slb.com
Newsgroups: comp.lang.c++,comp.lang.c,comp.os.msdos.programmer