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
    <!--quoteo(post=418516:date=Mar 1 2010, 03:23 AM:name=Covarr)--><div class='quotetop'>QUOTE (Covarr @ Mar 1 2010, 03:23 AM) <a href="index.php?act=findpost&pid=418516"><img src="public/style_images/retro/snapback.png"></a></div><div class='quotemain'><!--quotec-->C++. I just love it. It's beautiful.<!--QuoteEnd--></div><!--QuoteEEnd-->

    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
    0
    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 src="http://old-organizers.com/Images/Texas/Texas_Avigo10_1.jpg" border="0" class="linked-image" />

    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,137
    0
    0
    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. &nbsp;&nbsp;&nbsp;&nbsp;functioncall(); // comment
    4. }
    as opposed to this:
    Code (Text):
    1. void functionname()&nbsp;&nbsp;&nbsp;&nbsp;{
    2. &nbsp;&nbsp;&nbsp;&nbsp;// comment goes on its own line
    3. &nbsp;&nbsp;&nbsp;&nbsp;functioncall();
    4. }
     
  6. DigitalDuck

    DigitalDuck

    Arriving four years late. Member
    4,811
    23
    18
    Lincs, UK
    TurBoa, S1RL
    <!--quoteo(post=537255:date=Dec 11 2010, 02:48 AM:name=Dude)--><div class='quotetop'>QUOTE (Dude @ Dec 11 2010, 02:48 AM) <a href="index.php?act=findpost&pid=537255"><img src="public/style_images/retro/snapback.png"></a></div><div class='quotemain'><!--quotec-->you know, sometimes I think I am the only programmer that does this:

    Code (Text):
    1. void functionname()
    2. {
    3. &nbsp;&nbsp;&nbsp;&nbsp;functioncall(); // comment
    4. }
    as opposed to this:
    Code (Text):
    1. void functionname()&nbsp;&nbsp;&nbsp;&nbsp;{
    2. &nbsp;&nbsp;&nbsp;&nbsp;// comment goes on its own line
    3. &nbsp;&nbsp;&nbsp;&nbsp;functioncall();
    4. }
    <!--QuoteEnd--></div><!--QuoteEEnd-->

    Nope. I do it your way.
     
  7. Aerosol

    Aerosol

    FML and FU2 Moderator
    10,507
    44
    28
    Not where I want to be.
    Sonic (?): Coming summer of 2055...?
    I do it that way too.
     
  8. Travelsonic

    Travelsonic

    Member
    785
    12
    18
    <!--quoteo(post=537255:date=Dec 10 2010, 09:48 PM:name=Dude)--><div class='quotetop'>QUOTE (Dude @ Dec 10 2010, 09:48 PM) <a href="index.php?act=findpost&pid=537255"><img src="public/style_images/retro/snapback.png"></a></div><div class='quotemain'><!--quotec-->you know, sometimes I think I am the only programmer that does this:

    Code (Text):
    1. void functionname()
    2. {
    3. &nbsp;&nbsp;&nbsp;&nbsp;functioncall(); // comment
    4. }
    as opposed to this:
    Code (Text):
    1. void functionname()&nbsp;&nbsp;&nbsp;&nbsp;{
    2. &nbsp;&nbsp;&nbsp;&nbsp;// comment goes on its own line
    3. &nbsp;&nbsp;&nbsp;&nbsp;functioncall();
    4. }
    <!--QuoteEnd--></div><!--QuoteEEnd-->


    I do both actually.
     
  9. nineko

    nineko

    I am the Holy Cat Tech Member
    <!--quoteo(post=537269:date=Dec 11 2010, 04:53 AM:name=Travelsonic)--><div class='quotetop'>QUOTE (Travelsonic @ Dec 11 2010, 04:53 AM) <a href="index.php?act=findpost&pid=537269"><img src="public/style_images/retro/snapback.png"></a></div><div class='quotemain'><!--quotec-->I do both actually.<!--QuoteEnd--></div><!--QuoteEEnd-->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
    4,811
    23
    18
    Lincs, UK
    TurBoa, S1RL
    <!--quoteo(post=537272:date=Dec 11 2010, 04:12 AM:name=nineko)--><div class='quotetop'>QUOTE (nineko @ Dec 11 2010, 04:12 AM) <a href="index.php?act=findpost&pid=537272"><img src="public/style_images/retro/snapback.png"></a></div><div class='quotemain'><!--quotec-->Either way it doesn't matter since 99% of the times I don't comment my stuff at all :v:<!--QuoteEnd--></div><!--QuoteEEnd-->

    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
    4,811
    23
    18
    Lincs, UK
    TurBoa, S1RL
    OpenGL (in general) is very good and very easy to use...

    ... in 2D.
     
  13. Ravenfreak

    Ravenfreak

    Sucks at sprite art Tech Member
    2,825
    24
    18
    O'Fallon Mo
    Sonic 1 Game Gear Disassembly
    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,719
    0
    0
    being an asshole =P
    <!--quoteo(post=537284:date=Dec 11 2010, 02:09 AM:name=DigitalDuck)--><div class='quotetop'>QUOTE (DigitalDuck @ Dec 11 2010, 02:09 AM) <a href="index.php?act=findpost&pid=537284"><img src="public/style_images/retro/snapback.png"></a></div><div class='quotemain'><!--quotec-->OpenGL (in general) is very good and very easy to use...

    ... in 2D.<!--QuoteEnd--></div><!--QuoteEEnd-->
    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
    0
    16
    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,719
    0
    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
    <!--quoteo(post=537339:date=Dec 11 2010, 12:09 PM:name=AamirM)--><div class='quotetop'>QUOTE (AamirM @ Dec 11 2010, 12:09 PM) <a href="index.php?act=findpost&pid=537339"><img src="public/style_images/retro/snapback.png"></a></div><div class='quotemain'><!--quotec-->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!<!--QuoteEnd--></div><!--QuoteEEnd-->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
    785
    12
    18
    <!--quoteo(post=537339:date=Dec 11 2010, 06:09 AM:name=AamirM)--><div class='quotetop'>QUOTE (AamirM @ Dec 11 2010, 06:09 AM) <a href="index.php?act=findpost&pid=537339"><img src="public/style_images/retro/snapback.png"></a></div><div class='quotemain'><!--quotec-->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!<!--QuoteEnd--></div><!--QuoteEEnd-->

    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: