>>5
If you go back a few years through /prog/scrape you'll come to the realisation that /prog/ has been an almost unchanging statistical entity; with every actual change for the worse.
Name:
Anonymous2010-06-18 9:44
Every expert programmer knows that algorithms don't mean shit. Data structures are more important.
Name:
Anonymous2010-06-18 10:13
>>9 #define VALID_FIBONACCI 12
/* fibonacci table, precomputed for execution speed */
static const unsigned long long fibs_table[VALID_FIBONACCI] = { 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, }; /* add more if required */
unsigned long long fibs (unsigned int n) {
if (n <= VALID_FIBONACCI)
return fibs_table[n];
else
return (unsigned int) -1; /* TODO throw 'out of bounds' exception */
}
>>8
That's a lie and you know it. /prog/ goes through cycles of good and shit, with a baseline of somewhere around okay in winter, and shit in summer.
Name:
Anonymous2010-06-18 11:14
I like A*, and am grateful to Xarn for discussing it. I'd used it once or twice before, but never understood it in the way I do now.
Name:
Anonymous2010-06-18 11:34
I like bucket sorts.
Name:
Anonymous2010-06-18 11:37
Algorithms are sooooooooooo sweet that I want to crap my pants. I can't believe it sometimes, but I feel it inside my heart. They are totally awesome and that's a fact. Algorithms are fast, smooth, cool, strong, powerful, and sweet. I can't wait to start MIT next year. I love algorithms with all of my body (including my pee pee).
Name:
Anonymous2010-06-18 11:40
>>14
agreed, very simple and elegant, yet never that popular
Name:
Charles Barkley2010-06-18 13:00
>>13
I did an A* program for a robotics course I was taking. I had to do it in MATLab though :(
Would have been so much easier in just about anything else.
Name:
Anonymous2010-06-18 13:25
>>14,16
It's just a less elegant special case of the radix sort.