Who the fuck actually uses sudocode?
Who the fuck actually uses sudocode?
Thats not even pseudo code. It should at least look a little bit like code. Sort of like python but less strict syntax
if condition then
do something
else
do something
learn to format your pseudogarbage
also loops exist
desu pseudo code is a retarded and vague concept to begin with.
This. A person who supposedly should be able to write in pseudocode by definition doesn't know how to code.
It makes it incredibly easy to efficiently plan and structure complex programs which you've never written before. Try doing something other than HelloWorld
I'm learning pseudocode and I find it pretty useful, it helps find similarities between all programming languages and get a basic understanding of what a code does even if you don't understand the language.
# studio.io
if entry(correct)
do write
else search_entry
if final_entry_reached
goto first_line
(((return))) 0;
}
...
>studio.io
7/10 got me to reply
>learning pseudocode
The first year of my cs undergrad we would only write pseudocode and upload it to the course portal. Then 5 guys would work full time translating our pseudocode into python with proper indentation, syntax highlighting, complying to standards etc which we would study in class. I thought this was how all unis did it until I learned from acquaintances (people I met in chat rooms) going to schools with 1/4 of the tuition that this isn't the norm.
me
If I have to think even a little about what I'm doing in a function I'll mock it up in pseudocode first. Helps you only have to think about one thing at a time.
Code monkeys need not worry about writing pseudocode
Architects write the algorithms
Code monkeys implement the algorithms
Dumb code monkeys get pseudocode
they should just use pascal
Where the fuck did you go to uni
official Sup Forumslang
It's a relatively small school so I don't want to say its name here. I only went there because both my parents went there and they wanted me to get good contacts.
I use pseudocode to sketch a high level solution of my problem before I start to actually implement it.
Isn't this what people usually do?
I've never read an algorithms book in my life so I just look up whatever I need at wikipedia and implement the pseudocode example in whatever language I'm writing.
Yes
Pseudocode in algorithm books is useful. UML is the real horror show
But thats not UML
Academics and designers.
Sometimes to help illustrate the general structure of an algorithm to a team member.
># studio.io
Lol
>searching an unsorted list
Fucking garbage.
op := faggot;
>(((return)))
My uni did psudocode and flow charting for like the first week, some truth tables/binary math and/or for anyone who hadn't touched discrete math yet then went into basic c++ for the rest of the semester. I think the first year courses do a few more weeks of psudocode now.
Psudocode for us was very simple at first but then was basically "shorthand [whatever language used on the project] without worrying about syntax because no compiler when your ide is pen+paper"