Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Standard for pseudo-code

Name: Anonymous 2007-12-17 8:21

A friend pointed out how the pseudo-code for some article he was reading was hard to understand. If we're going to use pseudo-code for articles, shouldn't there be a pseduo-code standard so we can all understand it?

I'd imagine it could look something like C, or any other widely used language, and at least TRY to incorporate most of the things common to all or a majority of programming languages.

Personally i feel all articles should just demonstrate stuff in C but you can't force your personal views on languages onto others so that's why i think there should exist some sort of lose standard for pseudo-code in articles and tutorials.

Who better to develop it than a message board full of pseduo-programmers. Get to it /prog/!

Also, wtf is this shit?!
Fatal error! Message could not be posted.
Please post threads less often!

Name: Anonymous 2007-12-17 8:23

Just found this, http://users.csc.calpoly.edu/~jdalbey/SWE/pdl_std.html

I'll kill myself now, bye.

Name: Anonymous 2007-12-17 8:45

Python is executable pseudocode.

Name: Anonymous 2007-12-17 9:16

Python is pseudo-executable code.

Name: Anonymous 2007-12-17 9:23

My elbow's been hurting so much in the past few days, do you think I should visit a doctor?

Name: Anonymous 2007-12-17 10:28

>>5
yes
--
Just use lisp

Name: Anonymous 2007-12-17 10:33

>>6
Another thing is, -- as a comment marker is fucking gay. Lol, Haskie (it's how I named my dog).

Name: Anonymous 2007-12-17 11:51

>>7
Blame SQL

Name: Anonymous 2007-12-17 12:34

SQL sucks

Name: Anonymous 2007-12-17 12:52

The best language for pseudo-code is plain English.

Name: Anonymous 2007-12-17 13:04

English is a horrible language.

Name: Anonymous 2007-12-17 13:26

English lacks garbage collecting. Java doesn't

Name: Anonymous 2007-12-17 13:27

>>9
no it doesn't

Name: Anonymous 2007-12-17 13:28

>>7
also Lua.-- lol

Name: Anonymous 2007-12-17 14:11

onglosh eez a orriblez langugu

Name: Anonymous 2007-12-17 15:05

Clearly we should use Lisp, since it has the fewest arbitrary rules for our pseudocode to follow. Or else we could follow Knuth and use Enlish as our high-level language.

Name: Anonymous 2007-12-17 17:16

>>7
I named my dog Haskell precisely because he's useless.

Name: Anonymous 2007-12-17 17:53

>>17
This thread is now about suitable /prog/ pet names. I've actually been wanting to do a thread like this for a while now, but I can only make one thread per week.
Suitable pet names:

Haskell
Kernighan
Ritchie
Radix

Name: Anonymous 2007-12-17 18:34

>>18
"Good for nothing piece of shit" would be a good pet name, since any /prog/rammer worth his salt calls his machine/language/etc that on a regular basis.

Name: Anonymous 2007-12-17 18:38

>>19
No, that's a horrible name for a /prog/ pet :(

Name: Anonymous 2007-12-17 19:15

>>18
Süßman
Abelson
Horstmann

Name: Anonymous 2007-12-18 8:14

I called my dog Sepples because it's really a crippled cat.

Name: Anonymous 2007-12-18 18:13

My cat's called Sussman.

Name: Anonymous 2007-12-18 18:47

Haskell
Kernighan
Ritchie
Radix
Sepples
Sussman
Abelson

Name: Anonymous 2007-12-18 18:49

Dijkstra

Name: Anonymous 2007-12-18 18:50

Sick-pee would make a good name.

Name: Anonymous 2007-12-18 18:57

GOTO considered pseudocode.

Name: Anonymous 2009-03-18 2:45

I'm feeling really keen, for some of that good ol' green

Marijuana MUST be legalized.

Name: Anonymous 2010-11-14 14:17

Name: Anonymous 2010-12-22 6:16

Name: Anonymous 2011-02-04 11:44

Name: Anonymous 2011-02-04 13:12

Name: Anonymous 2013-09-01 13:31


 In addition to the team aspect, Super Sentai also has a large emphasis on super robots and big scale setpiece battles. Ultraman has big scale fights too, but lacks mecha.

Name: Anonymous 2013-09-01 15:02


What's the 'Right' way to tie the data and the parsing steps in a nice way? One could write a big function which does the right thing for the various data types. Or one could use a monad to keep track of what's been processed so far and have each processing step get whatever it needs next from the monad state. Or one could write largely separate programs and send messages around (I don't much like this option).

Don't change these.
Name: Email:
Entire Thread Thread List