|
|
#3 (permalink) | |
|
Pro Member
Join Date: May 2006
Location: Sydney, Australia
Posts: 6,539
Rep Power: 9
|
Quote:
Code:
set candidate1 to 0 set candidate2 to 0 while input not 0 ask user for input if input equals 1 candidate1 = candidate1 + 1 else if input equals 2 candidate2 = candidate2 + 1 loop print candidate1 print candidate2 and learn to post in the correct forum.
__________________
OM NOM NOM |
|
|
|
|
|
|
#5 (permalink) |
|
Pro Member
Join Date: Jun 2006
Age: 19
Posts: 5,593
Rep Power: 8
|
Oh my god.. Pseudo-code teachers are idiots.
Whats to gain from pseudo code... nothing. I HATE TEACHERS LIKE THAT. chem
__________________
There are no stupid questions... but there are alot of inquisitive idiots. - |
|
|
|
|
|
#6 (permalink) | |
|
Pro Member
Join Date: May 2006
Location: Sydney, Australia
Posts: 6,539
Rep Power: 9
|
Quote:
they may as well teach LOLCODE instead imo.
__________________
OM NOM NOM |
|
|
|
|
|
|
#8 (permalink) | |
|
Contributing Member
Join Date: Jun 2006
Posts: 607
Rep Power: 3
|
Quote:
Just not in dumb **** examples. If you take an OS theory course you will most likely come to appreciate it quite a bit.
__________________
92% of teens have moved on to rap. If you are part of the 8% who still listen to real music, copy and paste this into your signature. |
|
|
|
|
|
|
#9 (permalink) | |
|
Pro Member
Join Date: Jun 2006
Age: 19
Posts: 5,593
Rep Power: 8
|
Quote:
Granted, an OS theory course it would be handy.. breaking down a complex operation from an OS would make sense.. but loops? NUGGET PLEASE! chem
__________________
There are no stupid questions... but there are alot of inquisitive idiots. - |
|
|
|
|
|
|
#10 (permalink) |
|
Contributing Member
Join Date: Jun 2006
Posts: 607
Rep Power: 3
|
For someone new, completely new to programming It makes sense. You don't have to teach them an often confusing syntax, along with the new (and for them, confusing) control flow.
I have actually been talking to academic staff and students about teaching programming quite a bit recently, with the re-formation of the cs stream at my uni. Needless to say, the politics is bull****, and the idiots are winning. But this is an argument for another day (... a 30hr day!).
__________________
92% of teens have moved on to rap. If you are part of the 8% who still listen to real music, copy and paste this into your signature. |
|
|
|
|
|
#12 (permalink) |
|
Contributing Member
|
The point of pseudocode is clearly for VB programmers. "errrr how do I do something in VB? I know I'll just write it in plain english and it'll work. YAY!"
Pseudocode is meant to be for people that don't have programming experience and need to learn how to structure arguments logically. I've seen some of the civil engineering people at uni try and code and the way that they try and structure it is quite hilarious |
|
|
|
|
|
#13 (permalink) |
|
Contributing Member
Join Date: Jun 2006
Posts: 607
Rep Power: 3
|
You have clearly missed the many academic papers and journals that present their arguments and examples using pseudo code.
__________________
92% of teens have moved on to rap. If you are part of the 8% who still listen to real music, copy and paste this into your signature. |
|
|
|
|
|
#15 (permalink) | |
|
Participating Member
Join Date: Jul 2007
Location: Gold Coast, QLD
Age: 21
Posts: 435
Rep Power: 2
|
Quote:
__________________
CPU: Intel E8400 3GHz @ 3.6GHz [450x8] [1.34v] HSF: Thermalright Ultra 120 RAM: 2G Crucial Ballistix Tracer 1066MHz 5-5-5-15 @ 900MHz 4-4-4-12 [2.1v] MB: Gigabyte P35 DS3P GPU: Gigabyte 8800GTS 512Mb |
|
|
|
|
|
|
#16 (permalink) |
|
GotGames Moderator
Join Date: Jun 2006
Location: Vic
Posts: 2,060
Rep Power: 5
|
lolcode > pseudocode IMO
Half (or some margin) the benefit of it is it can be easily translated directly into most languages. So you write a general algorithm in pseudocode and a programmer of any taste can incorporate it easily.
__________________
"If you wanna get it through their head, talk to them ragely" - fakeh |
|
|
|








