What was your first program ever? I mean, beyond the hello world and exercises; the first one you came up with yourself?
For me it was a Scheme program that made given text (from file) all upper/lower case. It asked the user for case, then did the converting, but if the user provided anything else than ``up'' or ``down'' as the mode, the program displayed the header that said ``learn to type, faggot'', and then printed an endless sequence of ASCII penises. It was a nice easter egg. Lol, good old days.
Name:
Anonymous2009-06-05 14:09
i wrote an ansi c compiler
Name:
Anonymous2009-06-05 14:14
Uhh, apart from endless Sepples [code]Please enter your name:, \nPlease enter your date of birth:, \nHello %s, you are younger than Hitler[code] pseudo-games, unfinished crapbags and 30-line programs that did the most basic things, I think it was an infinite barberpole generator that took a phrase from you and continually printf'd it and shifted the first character onto the end. Looked pretty neat.
Name:
Anonymous2009-06-05 14:23
My first program was in Pascal, it printed a man in ascii walking(by printing and clearing the screen constantly) and then asking: "Do you want to fire a kamehameha?(y/n)", you can imagine what it did. I was very proud of it, i even got a loser into programming by showing it to him. Too bad that piece of shit preferred to learn Delphi.
I mean, beyond the hello world and exercises;
Lol. Only java monkeys start learning to program by doing exercises.
My first program (the one I wrote after the compulsory ``INCREDIBLE CALCULATOR'' was… I don't remember. But it was in QBASIC because I didn't learn any other languages until I was 12. (My second language was Pascal and the third was C.)
>>7
I did, when I was mature enough to comprehend it in its glory.
Name:
Anonymous2009-06-05 15:05
I think it was some kind of horrible stick figure game in QBasic. Probably a platformer or something. No, the figure didn't have moving limbs.
Name:
Anonymous2009-06-05 15:23
Guessing a number the computer picked between 1 and 100 where the computer gave "higher" and "lower" feedback. Generally, this, compound interest calculators (for e.g. credit cards), and seives are the first things I try out in any new language. I think I will add rational arithmetic and continued fractions to this, though.
Name:
Anonymous2009-06-05 15:30
pascal;
you were required to enter your name, and if your name wasnt my name the program would endlesly print that they're a fegget.
it was yesterday ;_;
Name:
Anonymous2009-06-05 15:44
An ENTERPRISE application in Java. I get paid, I don't have time for toy programs or for being interesting.
Name:
Anonymous2009-06-05 16:07
I have no recollection whatsoever.
Name:
Anonymous2009-06-05 16:09
Factorial. I remember it as it was yesterday. In fact, it was yesterday. I write a factorial every day.
My first program asked for quotes. If you passed ` or ', it deleted your relevant system files because those are not quotes.
Name:
Anonymous2009-06-05 21:19
A pokemon text battle game. You could only play as about 7 of them, but I was in middle school at the time and red/blue just came out.
Name:
Anonymous2009-06-05 23:52
A sudoku generator was my first program that I made aside from the initial hello world and some looping things.
Name:
Anonymous2009-06-06 0:04
I made a StarCraft trainer in x86 assembly. It created a simple dialog window with two buttons for activating the effects of the trainer (unlimited minerals / unlimited vespene.) Upon receiving a button click, it would find the process ID of starcraft.exe and use WriteProcessMemory to patch the code which subtracted resources, so instead of subtracting resources whenenver you built stuff it would add resources.
Name:
Anonymous2009-06-06 0:19
My first program was the Davinci virus
Name:
Anonymous2009-06-06 1:18
>>21
I tried to write a sudoku generator and failed after a few months of programming. I think I'll revisit this problem some day and show it who's boss.
Name:
Anonymous2009-06-06 8:50
First program? Printing a sine wave out on a line printer, like how God intended your first program should be.
I made a textual game called "Mazeman" in QBasic that used the extended ASCII characters to make a maze. There was a little 3x3 area you could see, and you had to go around the maze to collect keys and find the exit.
Looked something like this (assuming it renders properly)
█████
█└──█
█ ☺ █
█┐ │█
█████
IRC bot which kicked ppl out if they entered text 3 times without anyone else replying to them
Name:
Anonymous2009-06-06 23:19
If you remember your first program you haven't been programming long enough.
Name:
Anonymous2009-06-07 1:36
A simple message delivery system, with encryption (an algorithm similar to rc4, but broken in a way that made it necessary to brute-force a 16-bit key (generated from the plaintext before encrypting) in addition to knowing the right 256-bit key to decrypt it) and some very ugly hacks to work around limitations of the file locking in QBASIC.
Encryption algorithm that, upon looking back, was suspiciously similar to RC4 in that it used a permutation table modified by a key and the stream to be encrypted.
>>37
I found that impressive. I have never written anything besides a factorial and fibs in the last four years.
Name:
Anonymous2009-06-07 18:54
I downloaded some hugeass NES rom goodset. You know, those ones that have 1341 duplicates of everything for every region.
I remembered I spent some time learning some basic Python a while earlier, and decided to test my knowledge and cleaned out all duplicate files and hacks.
My first program was on the BBC Micro, and it would read strings from INPUT statements until you entered a blank one, while writing them to a file. Its companion program read the file and printed out the strings.
My next ones messed around with sound, playing all sort of weird effects using the ENVELOPE and SOUND statements. Then I tried a bit of text mode animation, which culminated in drawing an egg (actually an ellipse) on the screen using SIN and COS functions, though I didn't understand why that worked at the time, filling it in with patterns, cracking it, drawing a small bird next to it and getting the computer to say "Happy Easter" using a speech synth program we bought as an addon.
Good times. Now I write business software all day and it fucking sucks.
>>44
You should redeem yourself by hacking on A++ super fun would code again projects all night. You don't want to die with the negative karma of a thousand scalable enterprise best practices compliant singleton classes weighing down your soul.
>>45
There's a reason enterprise practices include singletons. It's because they're a great idea.
Name:
Anonymous2009-06-07 21:36
>>45
I would do if I hadn't spent all my intellectual energy for the day at work.
Name:
Anonymous2009-06-08 1:09
>>46
Please elaborate. They're just global state. There's a case to be made for lazy instantiation if the object may not be needed, but at it's heart the "singleton pattern" is just a fancy name Java developers use to pretend that they're not using global variables, no?
>>48
That's like saying "at heart classes are just a fancy name Java developers use to pretend they're not using structs." Singletons co-operate nicely with the ideas of modularity, encapsulation and information hiding.
>>49
No, objects co-operate nicely with the idea of modularity, encapsulation and information hiding. It's a global variable that happens to be an object.
Name:
Anonymous2009-06-08 2:42
QBASIC textual capture-the-flag for two players at once (age 11-12ish). I thought it was so amazing that I had brilliantly realized how collision detection works.
Name:
Anonymous2009-06-08 4:28
"at heart classes are just a fancy name Java developers use to pretend they're not using structs."
A bunch of screensavers in QBasic(It was included in win98) IIRC or the program i used to replaced command.com to password protected prompt(sort of compiled batch file) which then loaded command.com.
>>54
Interesting subject is, why are you looking at the anus(missing the whole man)?
Is there some unresolved sexual tension?
___________________________________________ http://xs135.xs.to/xs135/09042/av922.jpg
orbis terrarum delenda est
Name:
Anonymous2009-06-08 15:24
>>54
goddammit, now I see him too. Thought I'd uninstalled that script
AHH THE PLEASURE OF REINSTALLING MY ANTINAMEFAG JS
Name:
Anonymous2009-06-08 17:51
>>58 10 BEEP
That was actually the first thing I ever did when I taught myself QBasic. I ran it, was pleased that I had instructed my computer to beep, and then began searching through the help thingy for more commands)
Name:
Anonymous2009-06-08 18:47
>>1
GO READ APPLE HUMAN INTERFACE GUIDLENS THE PENIS ARE AGAINST USABILITY!
Name:
Anonymous2009-06-09 2:51
>>61
The Apple "GUIDELENS" is actually "PENIS IN EVERY PROGRAM" and hes just too enthusiastic about it.
I wrote a program in Visual Basic 6 called "msn ephin." It could rapidly change your display name and make you appear offline then online so you could fill your friends' screens with online notifications that formed messages. It could also constantly send a keypress followed by a backspace so while you had a conversation window open your friend would always see "x is typing a message."
Name:
Anonymous2010-09-10 5:15
>>65
I wrote a Threadbumper called RISE FROM YOUR GRAVE. It could rapidly bump your threads and make you appear as a new thread so you could fill your friends' screens with old threads. It could also constantly post HAX MY ANUS-derived memes so while you had a prog window open your friend would always see MY ANUS
Name:
Anonymous2010-09-10 15:01
>>66
I modified RISE FROM YOUR GRAVE to include the word MASTURBATING in bumped threads.