|
Haquer posted:I'm guilty of using nondescript variables, but only in situations like so: That's fairly reasonable as long as it's in a loop, as you rarely ever need to know what that variable is, usually because it's scope is only within the loop. I don't use i however, I use count, because I seem to always miss i when reading code.
|
# ? Jan 1, 2010 01:01 |
|
|
# ? May 14, 2024 17:13 |
|
Yakattak posted:That's fairly reasonable as long as it's in a loop, as you rarely ever need to know what that variable is, usually because it's scope is only within the loop. I don't use i however, I use count, because I seem to always miss i when reading code. (please don't say "count2" )
|
# ? Jan 1, 2010 01:26 |
|
Dijkstracula posted:What do you do when you have to use a nested loop? Valid point sir, I've actually, never come across such a situation, but I would probably come up with a meaningful count variable, or suffice to i/a/x/y/z/n you know, the usuals.
|
# ? Jan 1, 2010 01:30 |
|
dis astranagant posted:Implementing a switch with a for case loop uattack is an int assigned in a loop a couple lines above this, by the way. You could just not use a for or switch but just divide each case into a subroutine and call them sequentially from somewhere?
|
# ? Jan 1, 2010 01:32 |
|
RussianManiac posted:You could just not use a for or switch but just divide each case into a subroutine and call them sequentially from somewhere? It's not even a sequence. It checks uattack for every possible value it can take, then checks if the player isn't in a form that can do that and sets up the attack if possible. It's a roundabout way of running a switch on uattack. dis astranagant fucked around with this message at 02:10 on Jan 1, 2010 |
# ? Jan 1, 2010 02:07 |
|
tombom posted:I'm sure this has been posted somewhere around here before, but I haven't seen it. SpectateSwamp posted:Keep going with your Search. The big players in desktop search just don't get it. What sorta works for billions of web pages doesn't when matched up against SSDS. And random is key. If you had tons of family pictures you'd realize the importance. If you had thousands of video clips you would know. I sometimes forget that few, if any of you have or use video to the degree that I do. I probably keep more notes that the rest of you too. Because it's easy for me. SSDS allows me to backup 1 folder and have all my valuable data secure. With secure data. I don't worry about anything. I don't know the full context of this, but he seems hilarious. A search engine that returns random results? How useful
|
# ? Jan 1, 2010 16:07 |
|
SpectateSwamp posted:If you are in a non-sharing environment. (no copies allowed) Then keep even more notes at home (and http://forums.thedailywtf.com/forums/t/13917.aspx?PageIndex=1 lol
|
# ? Jan 1, 2010 21:56 |
|
RussianManiac posted:http://forums.thedailywtf.com/forums/t/13917.aspx?PageIndex=1
|
# ? Jan 1, 2010 21:58 |
|
Here he has a screencast that explains how to set up the Visual Basic 5.0 project for SSDS Rather than just distributing the VB project files. http://video.google.ca/videoplay?docid=-7589648200316339053 chips fucked around with this message at 22:59 on Jan 1, 2010 |
# ? Jan 1, 2010 22:55 |
|
I've got much bigger life problems than my horrible computer programs! __________________/
|
# ? Jan 1, 2010 23:49 |
|
lol. I like the fact of how self-confident he sounds thinking himself to be some turbo productive computer genious, yet still programs in VB.
|
# ? Jan 1, 2010 23:52 |
|
He's like Hexadecimal's creepy uncle.
|
# ? Jan 1, 2010 23:53 |
|
Dijkstracula posted:He's like Hexadecimal's creepy uncle. At least hexadecimal used Java
|
# ? Jan 1, 2010 23:57 |
|
RussianManiac posted:At least hexadecimal used Java I wonder how you know this
|
# ? Jan 2, 2010 01:44 |
|
RussianManiac posted:lol. I like the fact of how self-confident he sounds thinking himself to be some turbo productive computer genious, yet still programs in VB. he's the King REoL of the computer programming world
|
# ? Jan 2, 2010 04:00 |
|
Dijkstracula posted:holy crap, this guy is evidentially a legend http://thestupidestmanonearth.com/ haha seriously
|
# ? Jan 2, 2010 04:36 |
|
Dijkstracula posted:holy crap, this guy is evidentially a legend http://thestupidestmanonearth.com/ http://telusplanet.net/public/stonedan/source.txt This code is spectacular. I haven't seen a GOSUB in decades, outside of old engineering scripts to drive RS232 poo poo around in qbasic (open "com1:" as #1,9600,blah,blah") edit: Ahaha this is schizophrenic as hell. I don't know if anyone here ever stumbled on the "Kyoon" threads in LF. Kyoon was a paranoid schizophrenic dude , aka "The end times prophet", who managed to stumble into LF and was quickly adopted as the forum crazy-person mascot. This guys like the computer-programmer version of kyoon. duck monster fucked around with this message at 05:32 on Jan 2, 2010 |
# ? Jan 2, 2010 05:25 |
|
tef posted:I wonder how you know this
|
# ? Jan 2, 2010 06:03 |
|
It's nice to see that his insanity isn't limited to programming.
|
# ? Jan 2, 2010 06:34 |
|
Plorkyeran posted:It's nice to see that his insanity isn't limited to programming. It is a self-reaffirming thing to read reply to that thread and realize that i'm not the only one who can't understand what the gently caress hes talking about.
|
# ? Jan 2, 2010 06:36 |
|
Whats so complicated
|
# ? Jan 2, 2010 06:45 |
|
Isn't numbering boxes on a flowchart a COBOL thing? Because numbers are much more readable than named functions or some such nonsense.
|
# ? Jan 2, 2010 13:16 |
|
Zombywuf posted:Isn't numbering boxes on a flowchart a COBOL thing? Because numbers are much more readable than named functions or some such nonsense. Those are line numbers
|
# ? Jan 2, 2010 13:30 |
|
tef posted:Those are line numbers 13627C?
|
# ? Jan 2, 2010 13:32 |
|
Zombywuf posted:13627C? from the above source: code:
|
# ? Jan 2, 2010 13:35 |
|
Haha That is Basic and COBOL, together at last.
|
# ? Jan 2, 2010 13:49 |
|
And anyway, isn't the point of a flowchart to describe the logic flow of the program, not to format the actual code in a weird way? 'Ah yes, array_aaa(array_pos)="y"+left(aa,tt-1)+"y"'
|
# ? Jan 2, 2010 15:30 |
|
This man is genuinely schizophrenic. Kyooncode.
|
# ? Jan 2, 2010 16:13 |
|
Broken Knees Club posted:This man is genuinely schizophrenic. kyoode
|
# ? Jan 2, 2010 18:56 |
|
tef posted:from the above source: Does VB have nested if statements? Why does he repeat same condition 4 times? EDIT: Well they do seem to have a side effect, but drat it, it seems like there would be a much much better way to do same poo poo.
|
# ? Jan 2, 2010 21:11 |
|
RussianManiac posted:Does VB have nested if statements? Why does he repeat same condition 4 times? maybe he doesn't realize you can have multiple statements in one "Then" clause?
|
# ? Jan 2, 2010 23:24 |
|
tef posted:
does vb use '=' for both assignment and equality‽
|
# ? Jan 3, 2010 01:38 |
|
fritz posted:does vb use '=' for both assignment and equality‽ Yes you do but you can't assign values in an Condition area but the after "Then" part does assign a value. I can't even imagine using code that looked like that its painful.
|
# ? Jan 3, 2010 01:40 |
|
I usually get a good chuckle by looking at the code that some affiliates think my employer should place on their websites. For some reason, in addition to the horror that is tracking pixels, they like to include JavaScript that generates tracking pixels. I found this in one today and was sincerely confusedcode:
|
# ? Jan 5, 2010 23:11 |
|
rt4 posted:I usually get a good chuckle by looking at the code that some affiliates think my employer should place on their websites. For some reason, in addition to the horror that is tracking pixels, they like to include JavaScript that generates tracking pixels. I found this in one today and was sincerely confused I think it's meant to protect it from filtering.
|
# ? Jan 5, 2010 23:14 |
|
rt4 posted:I usually get a good chuckle by looking at the code that some affiliates think my employer should place on their websites. For some reason, in addition to the horror that is tracking pixels, they like to include JavaScript that generates tracking pixels. I found this in one today and was sincerely confused Maybe its generated by something, and that something is loving up?
|
# ? Jan 5, 2010 23:14 |
|
rt4 posted:I usually get a good chuckle by looking at the code that some affiliates think my employer should place on their websites. For some reason, in addition to the horror that is tracking pixels, they like to include JavaScript that generates tracking pixels. I found this in one today and was sincerely confused I would venture to get around ad blockers.
|
# ? Jan 5, 2010 23:15 |
|
zootm posted:I knew a guy who did something near-identical to this (in Java) when I was at uni. I suggested the single-line version and he just kinda looked stunned, then said he'd "maybe think about doing it that way later". Oh, well. That was amateur horror. It takes professionals to create Live Horrors code:
|
# ? Jan 5, 2010 23:52 |
|
Munkeymon posted:That was amateur horror. It takes professionals to create Live Horrors my... my god...
|
# ? Jan 6, 2010 00:23 |
|
|
# ? May 14, 2024 17:13 |
|
Munkeymon posted:That was amateur horror. It takes professionals to create Live Horrors I want to quote my favorite line, but I just can't decide: they're all so bad. Have you considered joining the rank of heroes who have come to work with a shotgun and a heart tempered in justice?
|
# ? Jan 6, 2010 00:41 |