don't click here

Your Programming Language of Choice?

Discussion in 'Technical Discussion' started by Armada, Jul 24, 2008.

  1. I couldn't really call myself a programmer yet, but I've been trying my hand at Scheme. SICP, of course :P.
     
  2. Vinchenz

    Vinchenz

    Yo! Hustle! Hustle! Member
    Hah, reading through this thread I was going to post the exact same thing!

    Yeah, I just look at some C++ coding and I just wanna make sweet, sweet love to it... Err, I mean, yeah C++ is hawt.

    I also like C#, especially how in Microsoft Visual Studios it has error checking for you. Lord knows I stare at C++ code for huge amounts of time looking for where my error is, when it turns out I missed a semi-colon or curly brace somewhere.

    But those are about the only languages I know!
     
  3. Bgvanbur

    Bgvanbur

    Tech Member
    128
    1
    0
    USA
    a disassembly, some small Sega CD projects
    I can't believe no one mentioned PERL which is my favorite (for small tools, I prefer C/C++ for large applications).
     
  4. Mad Echidna

    Mad Echidna

    Gone Oldbie
    5,219
    0
    0
    I used to play with BASIC when I was in middle school but never had the patience or discipline to get into more advanced stuff. I often copied code from library books on this PDA:
    [​IMG]

    Still one of my favorite devices to this day. Faster and more useful than the original Palm Pilots, and the CPU is a Z80!
     
  5. Dude

    Dude

    Tech Member
    3,138
    0
    16
    Southbridge, MA
    Random VR/AR trash
    you know, sometimes I think I am the only programmer that does this:

    Code (Text):
    1. void functionname()
    2. {
    3.     functioncall(); // comment
    4. }
    as opposed to this:
    Code (Text):
    1. void functionname()    {
    2.     // comment goes on its own line
    3.     functioncall();
    4. }
     
  6. DigitalDuck

    DigitalDuck

    Arriving four years late. Member
    5,417
    492
    63
    Lincs, UK
    TurBoa, S1RL
    Nope. I do it your way.
     
  7. Aerosol

    Aerosol

    Not here. Moderator
    11,200
    601
    93
    Not where I want to be.
    Sonic (?): Coming summer of 2055...?
    I do it that way too.
     
  8. Travelsonic

    Travelsonic

    Member
    830
    22
    18

    I do both actually.
     
  9. nineko

    nineko

    I am the Holy Cat Tech Member
    6,365
    523
    93
    italy
    This. Most of the times I put comments on the same row of the instruction if I want to comment line by line, but some other times I put generic comments on the lines before, especially when I want to describe a section of code and not a particular line.

    Either way it doesn't matter since 99% of the times I don't comment my stuff at all :v:
     
  10. DigitalDuck

    DigitalDuck

    Arriving four years late. Member
    5,417
    492
    63
    Lincs, UK
    TurBoa, S1RL
    Same here. Most of my programs have a title, date, revision, and quick rundown of the main variables. But that's it.
     
  11. Vinchenz

    Vinchenz

    Yo! Hustle! Hustle! Member
    I comment the hell out of my code.

    I comment both ways. If I need to get a little detailed with my comments I comment above the function/variable. Otherwise it's beside the function/variable.

    My language of choice is still C++. In the past month I dabbled a LOT in DirectX10 and HLSL shaders and I really enjoy those as apposed to the little experience I had with OpenGL and GLSL. It was a terrible experience.
    Then again, it was OpenGL 3.1. Who knows how much better OpenGL 4.0 is.
     
  12. DigitalDuck

    DigitalDuck

    Arriving four years late. Member
    5,417
    492
    63
    Lincs, UK
    TurBoa, S1RL
    OpenGL (in general) is very good and very easy to use...

    ... in 2D.
     
  13. Ravenfreak

    Ravenfreak

    Feeling festive this year Tech Member
    3,171
    248
    43
    O'Fallon Mo
    Hacking Sonic Drift
    I comment my code the same way Dude does. And when I do write code, I comment the shit out of it. :v:
     
  14. Sik

    Sik

    Sik is pronounced as "seek", not as "sick". Tech Member
    6,718
    10
    0
    being an asshole =P
    What? 3D isn't any harder than 2D in OpenGL. And I hope you aren't talking about immediate mode, that thing is completely gone in GL3 (and D3D10 doesn't have it either).

    In before somebody mentions XNA.
     
  15. TmEE

    TmEE

    Master of OPL3-SA2/3 Tech Member
    1,726
    2
    18
    Estonia, Rapla City
    T-04YBSC-A !
    "real programmers never comment, if it was hard to write it should be harder to read and impossible to change" xD
     
  16. Sik

    Sik

    Sik is pronounced as "seek", not as "sick". Tech Member
    6,718
    10
    0
    being an asshole =P
    Real programmers don't write code, they use butterflies to write the binary directly into the hard disk.
     
  17. AamirM

    AamirM

    Tech Member
    I use both commenting styles (if I comment), depending on certain things.

    Also, I put braces on their own line. I absolutely HATE the other style (of putting the starting brace in the same line as the block start). Let me say it again, I HATE IT!
     
  18. nineko

    nineko

    I am the Holy Cat Tech Member
    6,365
    523
    93
    italy
    Me too. Only exception:
    Code (Text):
    1. if (something)
    2. {
    3. //code
    4. }else{
    5. //code
    6. }
    I don't like to waste three lines for an ELSE.

    edit: yes this is php
     
  19. Travelsonic

    Travelsonic

    Member
    830
    22
    18
    This, this, fucking THIS!

    It looks so much cleaner, more organized.

    [am I the only one who indents a-la C++ when scripting XHTML/CSS/javascript?]
     
  20. Biofrost

    Biofrost

    Environment artist at Sony Bend Member
    310
    0
    16
    Oregon
    Env artist on Days Gone for ps4
    My girlfriend programs in Java, I my self can't stand programming. :colbert: