Results
|
Choice
|
Votes
|
|
Percent
|
Machine Code
|
14
|
3.0%
|
|
Assembly Language
|
74
|
15.9%
|
|
C/C++
|
167
|
35.8%
|
|
Java
|
12
|
2.6%
|
|
LISP
|
2
|
0.4%
|
|
Perl
|
17
|
3.6%
|
|
TI-BASIC
|
123
|
26.4%
|
|
Other
|
39
|
8.4%
|
|
I don't program.
|
18
|
3.9%
|
|
|
Re: What is your favorite way to program?
|
Donovan Smith
(Web Page)
|
I like programming in C with some C++ thrown in. Once you start using C++ classes, programming is never the same. Iostreams don't seem very worthwhile, however. They make a program significantly bigger than needed without adding much functionality.
QuickBasic (not Qbasic) is a decent language, but it is slow and lacks structure. Pascal is nice, but not as practical as C/C++. I've tried ASM for both the 8086 and TI-89 and didn't get very far. I've also tried Perl but I've never used LISP.
|
Reply to this comment
|
30 September 2000, 17:56 GMT
|
|
Re: What is your favorite way to program?
|
Samuel Stearley
|
I learned a bit of c to understand the tigcc documentation but when I try to code in c I hate it because I see how the code corresponds to the assembly equivilent so I think why not just do it in assembly.
C takes care of juggling variable around for you, but rarely do I use more than 5 variables or 3 arrays at a given time. And when I do have an excess of variables I put them to ram and refer to them by index with an address register pointing to free memory.
I also like allocating memory off the stack. I believe c does this for local variables, but i use it
for a lot more.
Assembly also has better stack managent.
I have found Assembly to be just as buggy as c. Most bugs are stupid things resulting from a quick hack. By Rereading code i can usually find such bugs.
Of course if I was making a serious math program I would probably do it in c.
|
Reply to this comment
|
30 September 2000, 18:17 GMT
|
|
Re: What is your favorite way to program?
|
Kiros Lionheart
|
What about VB? Am I *really* the only person who uses it? I voted "Other" btw.
--Darkfire
|
Reply to this comment
|
30 September 2000, 18:54 GMT
|
|
Pascal rules!!!
|
Z86MON
(Web Page)
|
I love programming in Pascal! It is not just a beginner's language: it is a structured, object oriented language that is fast, versatile, easy to learn, and not near as cryptic as C or C++.
My development platform:
Mac IIsi, 9 MB RAM, 80 MB HD, and Think Pascal 4.5d4 (a cool free compiler for 68K Macs: it auto formats your code and has what some consider to be one of the best debuggers ever).
For PowerMacs I like METAL. It's like BASIC, but compiled and more versatile. It's also free.
-Z86MON-
|
Reply to this comment
|
30 September 2000, 20:01 GMT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Re: Re: Re: Pascal rules!!!
|
Daniel Bishop
(Web Page)
|
Good question. I don't think either one is hard, but that's because I've written a lot of code using each type of I/O.
But what do y'all think? Novice programmers, which is easier to understand?
// program #1
#include <stdio.h>
int main( )
{
float a, b, c;
printf("Enter three numbers: ");
scanf("%f %f %f", &a, &b, &c);
printf("\n%8.2f%8.2f%8.2f\n", a, b, c);
return 0;
}
// program #2
#include <iostream.h>
int main( )
{
float a, b, c;
cout << "Enter three numbers: ";
cin >> a >> b >> c;
cout.setf(ios::fixed);
cout << endl << setprecision(2) << setw(8) << a
<< setw(8) << b << setw(8) << endl;
return 0;
}
|
Reply to this comment
|
1 October 2000, 23:42 GMT
|
|
1 2 3 4 5 6
You can change the number of comments per page in Account Preferences.
|