Brontoforumus Archive

Please login or register.

Login with username, password and session length
Advanced search  

News:


This board has been fossilized.
You are reading an archive of Brontoforumus, a.k.a. The Worst Forums Ever, from 2008 to early 2014.  Registration and posting (for most members) has been disabled here to discourage spambots from taking over.  Old members can still log in to view boards, PMs, etc.

The new message board is at http://brontoforum.us.

Pages: 1 2 3 4 [5] 6 7 8 9

Author Topic: Programmers' Wanking Corner  (Read 20779 times)

0 Members and 1 Guest are viewing this topic.

hdon

  • lliiliiilliliilillilliiilliiliiillillll
  • Untested
  • Karma: 0
  • Posts: 2
    • View Profile
    • codebad.com
Re: Programmers' Wanking Corner
« Reply #80 on: January 24, 2009, 06:14:50 AM »

is there any such as overcommenting?

What do you expect everyone to say? Obviously there is no practical limit to commenting, because everyone wants more documentation; but obviously there is a real limit, because if you wanted to challenge the claim that there is no such thing as too much commenting, you could certainly provide an effective counterexample.

The only thing I can think of that hasn't been mentioned so far is that thorough documentation helps people identify bugs faster. Many more errors are made in the construction of expressions in programming languages than in their natural language counterparts, and the redundancy provides a highly accessible cross-reference.

So, documentation: good for bugs, good for digestion.

One piece of advice: use Doxygen. It looks a little uglier if you ask me, but I've never found anyone to agree with me on that. But in the end it's very much worthwhile.
Logged

Brentai

  • https://www.youtube.com/watch?v=DnXYVlPgX_o
  • Admin
  • Tested
  • Karma: -65281
  • Posts: 17524
    • View Profile
Re: Programmers' Wanking Corner
« Reply #81 on: February 11, 2009, 01:16:27 PM »

Logged

Zaratustra

  • what
  • Board Moderator
  • Tested
  • Karma: 48
  • Posts: 3691
    • View Profile
    • Zaratustra Productions
Re: Programmers' Wanking Corner
« Reply #82 on: February 11, 2009, 04:32:27 PM »

the problem of documentation is that if you ask programmers to do too much of it they'll start planning your death.

Also, one more thing about managing geeks - if you want them to do something now, talk to them. If you want them to do something later, write them. And if you want them to ignore you, go on a fifteen-minute diatribe to show how knowledgeable you are or how you think he should be doing his work. Programmers have been trained their entire lives to ignore the weird ululations people make around them in order to hold their concentration on the work to be done.

MadMAxJr

  • Tested
  • Karma: 5
  • Posts: 2339
    • View Profile
    • RPG Q&A
Re: Programmers' Wanking Corner
« Reply #83 on: February 11, 2009, 04:48:55 PM »

A good thing to note from what Zara said is emphasis on the words 'talk to them'.  I have several people who are not my boss who believe all they have to do is tell me what to do, and I don't get to respond.  They seem to forget they don't have authority over me.
Logged
"The trouble with the world is that the stupid are cocksure and the intelligent are full of doubt." - Bertrand Russell

Got questions about RPGs?

Brentai

  • https://www.youtube.com/watch?v=DnXYVlPgX_o
  • Admin
  • Tested
  • Karma: -65281
  • Posts: 17524
    • View Profile
Re: Programmers' Wanking Corner
« Reply #84 on: February 12, 2009, 07:16:18 PM »

So it seems my XNA code is really a lot faster than my nearly equivalent C++/DirectX code.  Like, exponentially.  Glossing over the fact that this really makes no sense (I suspect that D3DXSprite may simply be a load of shit, but I'm not entirely sure I want to figure out how to do 2D in 3d-space just to test that) this would imply that I ought to, you know, really consider going back to XNA.  This leaves me conflicted.  On the one hand, we're talking a speed difference large enough to affect what I can even think about doing; on the other hand, I really don't want to force people to download 3 goddam frameworks from Microsoft just to play my glorified tech demos.

Hmmm... Dark Side, no Dark Side... Dark Side...
Logged

Bongo Bill

  • Dinosaurcerer
  • Tested
  • Karma: -65431
  • Posts: 5244
    • View Profile
Re: Programmers' Wanking Corner
« Reply #85 on: February 12, 2009, 08:18:42 PM »

Release on XBox Community Games.
Logged
...but is it art?

Brentai

  • https://www.youtube.com/watch?v=DnXYVlPgX_o
  • Admin
  • Tested
  • Karma: -65281
  • Posts: 17524
    • View Profile
Re: Programmers' Wanking Corner
« Reply #86 on: February 12, 2009, 09:27:56 PM »

Don't have Xbawks.

But yeah the promise of FREE MONIES is attractive too.  Stay good Brentai!
Logged

Bongo Bill

  • Dinosaurcerer
  • Tested
  • Karma: -65431
  • Posts: 5244
    • View Profile
Re: Programmers' Wanking Corner
« Reply #87 on: February 12, 2009, 10:59:04 PM »

If you're going to be targeting Windows anyway, there's hardly any reason not to use XNA. Especially since you can build the extra frameworks and such directly into the installer when the time comes to release.
Logged
...but is it art?

Brentai

  • https://www.youtube.com/watch?v=DnXYVlPgX_o
  • Admin
  • Tested
  • Karma: -65281
  • Posts: 17524
    • View Profile
Re: Programmers' Wanking Corner
« Reply #88 on: February 12, 2009, 11:41:53 PM »

Well the main beef is that I'm putting seventeen flavors of bullshit on people's systems.

Although I guess if the thing ever becomes worth half a damn most people will end up with it anyway.
Logged

Bongo Bill

  • Dinosaurcerer
  • Tested
  • Karma: -65431
  • Posts: 5244
    • View Profile
Re: Programmers' Wanking Corner
« Reply #89 on: February 12, 2009, 11:57:17 PM »

Although I guess if the thing ever becomes worth half a damn most people will end up with it anyway.

This is the main reason not to fight it. Think of it as a part of the operating system that isn't installed by default.
Logged
...but is it art?

JDigital

  • Tested
  • Karma: 32
  • Posts: 2786
    • View Profile
Re: Programmers' Wanking Corner
« Reply #90 on: February 13, 2009, 12:39:14 PM »

I suppose it depends why you want to make a game. For professionally-valued experience, do it yourself in DirectX. To get results and distribute the next big mediocre platformer, XNA, if you can make the installer work. If neither of these are important and you still want to write games, pick whichever.
Logged

Brentai

  • https://www.youtube.com/watch?v=DnXYVlPgX_o
  • Admin
  • Tested
  • Karma: -65281
  • Posts: 17524
    • View Profile
Re: Programmers' Wanking Corner
« Reply #91 on: February 13, 2009, 01:02:53 PM »

I'm going to cattle-iron the next person who uses the word 'mediocre'.
Logged

Brentai

  • https://www.youtube.com/watch?v=DnXYVlPgX_o
  • Admin
  • Tested
  • Karma: -65281
  • Posts: 17524
    • View Profile
Re: Programmers' Wanking Corner
« Reply #92 on: February 13, 2009, 05:40:23 PM »

So I ran a test and they're actually about equal in performance.  So!  Disregard all that I suck cocks.

That said, I AM trying to simulate 2d in 3dspace now because D3DXSprite seems to have some special issues and it's worth more cred if I do it with manly quads anyway.
Logged

Brentai

  • https://www.youtube.com/watch?v=DnXYVlPgX_o
  • Admin
  • Tested
  • Karma: -65281
  • Posts: 17524
    • View Profile
Re: Programmers' Wanking Corner
« Reply #93 on: February 13, 2009, 06:49:10 PM »

Huh.  That turned out to be a lot easier than I thought.
Logged

Brentai

  • https://www.youtube.com/watch?v=DnXYVlPgX_o
  • Admin
  • Tested
  • Karma: -65281
  • Posts: 17524
    • View Profile
Re: Programmers' Wanking Corner
« Reply #94 on: February 15, 2009, 09:44:50 PM »

Two days ago: 42 fps.
Today: 55 fps.

(Rendering approx. 900 onscreen sprites)

Is 13 fps worth two days of work?  John Carmack says yes, but the Indie world may shrug and ask me what my levels are looking like right now.
Logged

Zaratustra

  • what
  • Board Moderator
  • Tested
  • Karma: 48
  • Posts: 3691
    • View Profile
    • Zaratustra Productions
Re: Programmers' Wanking Corner
« Reply #95 on: February 15, 2009, 09:49:14 PM »

Rules for when to optimize:

1) Never.
2) (For advanced users only) Not yet.

JDigital

  • Tested
  • Karma: 32
  • Posts: 2786
    • View Profile
Re: Programmers' Wanking Corner
« Reply #96 on: February 16, 2009, 02:13:24 AM »

what are your levels looking like now
Logged

sei

  • Tested
  • Karma: 25
  • Posts: 2085
    • View Profile
Re: Programmers' Wanking Corner
« Reply #97 on: February 16, 2009, 02:16:53 PM »

I am finding Eclipse (Ganymede) extremely cumbersome to work with.  It's gotten to the point where I edit my SQL files in another editor, and only use Eclipse as a front-end for feeding apache Derby scripts via ij.

I'd expect the Eclipse SQL Explorer plug-in to help a bit, but I've yet to be able to open its SQL editor, either by menu digging or dragging SQL files out of the project and around the UI.  Maybe it's buried in a right-click menu, somewhere.
Logged

Aintaer

  • My hubris!
  • Tested
  • Karma: 10
  • Posts: 384
    • View Profile
Re: Programmers' Wanking Corner
« Reply #98 on: February 16, 2009, 03:00:51 PM »

You know what's wonderful?

Sending somebody working code, having them modify it, send it back, saying it's broken, and asking you to look if you broke anything.
And finding out the other person was just missing a closing quote.

And not being able to say anything about it because you're the junior developer.
Logged

Kazz

  • Projekt Direktor
  • Admin
  • Tested
  • Karma: -65475
  • Posts: 6423
    • View Profile
Re: Programmers' Wanking Corner
« Reply #99 on: February 16, 2009, 04:57:54 PM »

MURDER HIM

MURDER HIM NOW
Logged
Pages: 1 2 3 4 [5] 6 7 8 9