Jeff on programming
Pages
- 1
- 2
Author | Topic: Jeff on programming |
---|---|
Law Bringer
Member # 6785
|
written Wednesday, May 30 2007 23:29
Profile
For those who haven't checked out what's new, Jeff writes on programming. Since some of you are working on reading his code for Blades of Exile it seems appropriate. Congratulations Jeff on getting paid to state the obvious. Of course they didn't teach this when I learned programming almost 30 years ago and it still doesn't seem to be. Posts: 4643 | Registered: Friday, February 10 2006 08:00 |
Law Bringer
Member # 2984
|
written Thursday, May 31 2007 00:45
Profile
Homepage
quote:Huh? We were taught how to comment properly. We weren't taught about #define, because it doesn't exist in Java. We did, however, get drilled about using comprehensive variable and function names (neither too long nor too short) and error handling (which Java does do more conveniently). Our software engineering course covered pretty much all of this... Edit: But the labels on this picture really made me laugh. [ Thursday, May 31, 2007 03:48: Message edited by: Dr. Johann Georg Faust ] -------------------- Encyclopaedia • Archives • Members • RSS [Topic / Forum] • Blog • Polaris • NaNoWriMo Look on my works, ye mighty, and despair. I have a love of woodwind instruments. Posts: 8752 | Registered: Wednesday, May 14 2003 07:00 |
Guardian
Member # 6670
|
written Thursday, May 31 2007 06:16
Profile
Homepage
By Aran: quote:I don't think that Randomizer is primarily a programmer. No offense, but experience has taught me that engineers and their ilk have lousy code maintainance skills (admittedly, there's more to their jobs than programming, but still...). And commenting each line of code isn't a bad idea... when you're writing in an assembly language. -------------------- I saw a sign: "Rest Area 25 Miles". That's pretty big. Some people must be really tired. - Steven Wright Posts: 1509 | Registered: Tuesday, January 10 2006 08:00 |
Master
Member # 5977
|
written Thursday, May 31 2007 06:33
Profile
Homepage
It's only later I discovered documenting every single SDF and such is a must. When I first started coding for BoA, I didn't document anything. When I probably was about a quarter into WtRM (that expression sounds really odd... Is it correct English?), I started documenting SDFs and other stuff. In TNS, I document every tiny detail; I learned my lesson. So, if I had read this article before I started coding for BoA, it would have spared me some time and hassle. -------------------- Play and rate my scenarios: Where the rivers meet View my upcoming scenario: The Nephil Search: Escape. Give us your drek! Posts: 3029 | Registered: Saturday, June 18 2005 07:00 |
? Man, ? Amazing
Member # 5755
|
written Thursday, May 31 2007 06:41
Profile
quote:Yes, or you could say the full length version which would be. quote: -------------------- WWtNSD? Posts: 4114 | Registered: Monday, April 25 2005 07:00 |
Guardian
Member # 2080
|
written Thursday, May 31 2007 07:08
Profile
quote:I'm jealous. You actually got to learn something in Java. My teacher basically just said read the book and figure it out on your own. Hell, I completely stopped trying to read the chapters after Ch 3 and just copied down examples and experimented with pieces of them 'til I got the stuff to work in my programs. Comments on the examples in the book were the only reason I was able to BS my way through the class. Posts: 1918 | Registered: Sunday, October 13 2002 07:00 |
Off With Their Heads
Member # 4045
|
written Thursday, May 31 2007 07:23
Profile
Homepage
OH NOES Er, in other news, this article makes me wonder how intelligent my comments on my BoA scripts are. They're usually non-existent, and when they do exist (as in the HLPM), they're pretty much stating the obvious. -------------------- Arancaytar: Every time you ask people to compare TM and Kel, you endanger the poor, fluffy kittens. Smoo: Get ready to face the walls! Ephesos: In conclusion, yarr. Kelandon's Pink and Pretty Page!!: the authorized location for all things by me The Archive of all released BoE scenarios ever Posts: 7968 | Registered: Saturday, February 28 2004 08:00 |
Shaper
Member # 7472
|
written Thursday, May 31 2007 07:37
Profile
Homepage
Now THAT looks like fun! :P -------------------- Scenarios need reviews! Please rate these scenarios at the CSR after playing them! Amnesia • Dilecia • The Empire's New Grove • Express Delivery Twilight Valley • Witch Hunt • Where the Rivers Meet • Foul Hordes Posts: 2686 | Registered: Friday, September 8 2006 07:00 |
Law Bringer
Member # 2984
|
written Thursday, May 31 2007 09:53
Profile
Homepage
Owned? Unless aliens that reach the bottom of the field alive (without touching my ship) hurt me somehow (or the "laser pew pew" reloads really slowly or takes like 5 shots to take one down), I'm pretty sure I could get out of that wave with 3 ships left. [ Thursday, May 31, 2007 12:09: Message edited by: Dr. Johann Georg Faust ] -------------------- Encyclopaedia • Archives • Members • RSS [Topic / Forum] • Blog • Polaris • NaNoWriMo Look on my works, ye mighty, and despair. I have a love of woodwind instruments. Posts: 8752 | Registered: Wednesday, May 14 2003 07:00 |
Infiltrator
Member # 3040
|
written Thursday, May 31 2007 10:06
Profile
quote:I think "When I was probably about a quarter into WtRM" sounds more natural. -------------------- 5.0.1.0.0.0.0.1.0... Posts: 508 | Registered: Thursday, May 29 2003 07:00 |
Board Administrator
Member # 1
|
written Thursday, May 31 2007 10:54
Profile
Homepage
"Congratulations Jeff on getting paid to state the obvious." Word. Though I question the obviousness of any of it. It's very much a "my own painful experience" piece. A lot of people learn to code, like me, out in the wild, these techniques don't just teleport into your head. They must be found out the hard way. Thanks to this thread for so far not engaging in any Slashdot-style nitpickery. ("You used #define instead of const in omglol n00b.") - Jeff Vogel -------------------- Official Board Admin spidweb@spiderwebsoftware.com Posts: 960 | Registered: Tuesday, September 18 2001 07:00 |
Law Bringer
Member # 6785
|
written Thursday, May 31 2007 14:22
Profile
I learnt programming from the engineering department, but spent years updating other people's programs. "Comments? We don't need no stinking comments." Trying to figure out what Fortran variables do (only 6 characters allowed) when you are taught to use generic terms is frustrating since the comment section at the beginning to define all terms is never there. Exams were try to figure out what porgramming mistake occurs in each section of code. Jeff - Any chance that will see the Alien game? Posts: 4643 | Registered: Friday, February 10 2006 08:00 |
Board Administrator
Member # 1
|
written Thursday, May 31 2007 14:27
Profile
Homepage
"Jeff - Any chance that will see the Alien game?" It's totally vaporware, I think. I haven't see it in any stores. But there's a wikipedia page that might have a release date or something. http://en.wikipedia.org/wiki/Space_invaders - Jeff Vogel -------------------- Official Board Admin spidweb@spiderwebsoftware.com Posts: 960 | Registered: Tuesday, September 18 2001 07:00 |
Law Bringer
Member # 2984
|
written Thursday, May 31 2007 14:57
Profile
Homepage
Vaporware? But I'm sure I've see--- Oh wait, never mind. -------------------- Encyclopaedia • Archives • Members • RSS [Topic / Forum] • Blog • Polaris • NaNoWriMo Look on my works, ye mighty, and despair. I have a love of woodwind instruments. Posts: 8752 | Registered: Wednesday, May 14 2003 07:00 |
Law Bringer
Member # 335
|
written Thursday, May 31 2007 16:45
Profile
Homepage
Space Invaders is practically a game programmers' rite of passage. Hello World, then Space Invaders. That's how it's done. —Alorael, who thinks Breakout is also on the list. Maybe Asteroids for the ambitious. Posts: 14579 | Registered: Saturday, December 1 2001 08:00 |
Shock Trooper
Member # 6754
|
written Thursday, May 31 2007 17:14
Profile
I did Space Invaders AND Asteroids. I like Jeff's writing style. Reading that article makes me want to go and work on something just for kicks. -------------------- One of these words is mispelled. Posts: 284 | Registered: Tuesday, January 31 2006 08:00 |
Law Bringer
Member # 2984
|
written Friday, June 1 2007 02:24
Profile
Homepage
quote:Asteroids more ambitious than Space Invaders? Sure, you have to implement steering in two dimensions rather than one, and things like momentum and inertia. But on the other hand, floating rocks need no artificial intelligence. -------------------- Encyclopaedia • Archives • Members • RSS [Topic / Forum] • Blog • Polaris • NaNoWriMo Look on my works, ye mighty, and despair. I have a love of woodwind instruments. Posts: 8752 | Registered: Wednesday, May 14 2003 07:00 |
Electric Sheep One
Member # 3431
|
written Friday, June 1 2007 05:06
Profile
It don't take no Deep Blue to march back and forth pissing dollars. -------------------- We're not doing cool. We're doing pretty. Posts: 3335 | Registered: Thursday, September 4 2003 07:00 |
Law Bringer
Member # 2984
|
written Friday, June 1 2007 05:11
Profile
Homepage
True dat. I just have some kind of irrational awe of computer programs using tactics, even if it's completely primitive. -------------------- Encyclopaedia • Archives • Members • RSS [Topic / Forum] • Blog • Polaris • NaNoWriMo Look on my works, ye mighty, and despair. I have a love of woodwind instruments. Posts: 8752 | Registered: Wednesday, May 14 2003 07:00 |
Law Bringer
Member # 335
|
written Friday, June 1 2007 13:29
Profile
Homepage
Space Invaders aliens have no tactics. In most variations they fire at random. In some they make a token effort at aiming towards you, but it's still at a randomly determined time and on a trajectory that's a simple matter of finding lengths and widths. —Alorael, who thinks Asteroids navigation and random rock generation is slightly more difficult to produce. Not much more, but slightly. Asteroids requires some graphics, though, so you have to either learn to use sprites or become a master of various drawing functions. Posts: 14579 | Registered: Saturday, December 1 2001 08:00 |
Agent
Member # 8030
|
written Friday, June 1 2007 16:03
Profile
Homepage
quote: quote:Makes me wonder how Wikipedia manages itself. I was rather insulted that they called their waco siege article "weasel worded" IBM? I haven't seen one of those in ages. -------------------- WWJD? Posts: 1384 | Registered: Tuesday, February 6 2007 08:00 |
Raven v. Writing Desk
Member # 261
|
written Friday, June 1 2007 16:23
Profile
Homepage
Why were you insulted? I mean, unless you wrote the article... -------------------- Slarty vs. Desk • Desk vs. Slarty • Timeline of Ermarian • G4 Strategy Central Posts: 3560 | Registered: Wednesday, November 7 2001 08:00 |
Agent
Member # 8030
|
written Friday, June 1 2007 16:32
Profile
Homepage
No, I didn't create that article. I was insulted because I use that article in a lot of debates concerning the government, and it isn't as credible if it claims to be "weasel worded." -------------------- WWJD? Posts: 1384 | Registered: Tuesday, February 6 2007 08:00 |
Canned
Member # 8014
|
written Friday, June 1 2007 16:40
Profile
I want to play Kill Bad Aliens. -------------------- I can transform into almost anything, though not sanity. My brother tried to type something here. I just erased it. Posts: 1799 | Registered: Sunday, February 4 2007 08:00 |
Agent
Member # 8030
|
written Friday, June 1 2007 16:46
Profile
Homepage
I've seen my little brother playing something eerily similar to that before. Yet, Jeff's last post has a self-explanatory link, It happens to be called Space Invaders. -------------------- WWJD? Posts: 1384 | Registered: Tuesday, February 6 2007 08:00 |
Pages
- 1
- 2