What's the language used in the video?

Discussion in 'Planetary Annihilation General Discussion' started by RaTcHeT302, August 29, 2012.

  1. RaTcHeT302

    RaTcHeT302 Guest

    The one where "party hard" is written? :lol:
  2. Spooky

    Spooky Member

    Messages:
    303
    Likes Received:
    0
    Since there is an std::string and proper pointers right after, probably C++ ;)
  3. acey195

    acey195 Member

    Messages:
    396
    Likes Received:
    16
    Could be C# as well I think?, but I guess C++
  4. Frostiken

    Frostiken Member

    Messages:
    203
    Likes Received:
    6
    Tell me more about your STDs :)
  5. Spooky

    Spooky Member

    Messages:
    303
    Likes Received:
    0
    C# does not have std:: and it does not use the "::" syntax altogether. Well, as far as I remember.


    Pfft, std is the namespace for the STL in C++, the Standard Template Library ;P
  6. theavatarofwar

    theavatarofwar New Member

    Messages:
    84
    Likes Received:
    0
  7. martindevans

    martindevans New Member

    Messages:
    14
    Likes Received:
    0
    It's the namespace alias operator ;)
    Last edited: September 25, 2013
  8. Spooky

    Spooky Member

    Messages:
    303
    Likes Received:
    0
    Ah :). Well it's still something different though.
  9. Shadowfury333

    Shadowfury333 Member

    Messages:
    50
    Likes Received:
    11
    Since this is a cross-platform game, I see little reason why they would be using C# over C++.

    And to reiterate, std is the C++ Standard Template Library namespace, and it's nice to see they are explicitly naming it rather than relying on "using namespace std". C# uses "System.String" for strings with "string" being a first class alias.
    Last edited: August 30, 2012
  10. DeadMG

    DeadMG Member

    Messages:
    217
    Likes Received:
    8
    std is not an operator of any kind. It is an identifier. :: is the scope resolution operator.

    Glad you guys aren't coding the game :p
  11. Spooky

    Spooky Member

    Messages:
    303
    Likes Received:
    0
    No one said that "std" is an operator.
  12. DeadMG

    DeadMG Member

    Messages:
    217
    Likes Received:
    8
    That's because the responsible party edited away their embarrassment.
  13. forrestthewoods

    forrestthewoods Uber Alumni

    Messages:
    197
    Likes Received:
    705
    Language you see is C++. Editor is Sublime Text 2 - http://www.sublimetext.com/2. In another shot you can see ST2 on the left monitor and Visual Studio in the right.

    ST2 is just a text editor targeted at programmers. It's not a full IDE so it doesn't compile, debug, etc. It just edits text, but so so really, really well. Currently I edit code in ST2, build from the cmd line, and use Visual Studio for debugging when necessary. I just started using this workflow a few weeks ago but so far I really dig it.

    I'm glad you guys enjoy to PartyHard(). :)
  14. zidonuke

    zidonuke Member

    Messages:
    79
    Likes Received:
    3
    I'm still using Notepad++ Mr. Sublime Text 2 Hipster.
  15. Shadowfury333

    Shadowfury333 Member

    Messages:
    50
    Likes Received:
    11
    So, for my second question, Vintage (vi) mode or no?
  16. neutrino

    neutrino low mass particle Uber Employee

    Messages:
    3,123
    Likes Received:
    2,687
    William Howe-Lott still uses emacs for all his code editing. He's the main engine architect BTW. He's just not much of a hang out in the forum kind of guy.

    Personally I just use visual studio with default key bindings. Since I'm going to be coding more than average over the next year I may go with something like sublime though.
  17. forrestthewoods

    forrestthewoods Uber Alumni

    Messages:
    197
    Likes Received:
    705
    No vintage mode for me. Just regular ol ST2.

    My current set of packages is: HLSL, SideBarEnhancements, Perforce, and Mercurial. I'm hoping SublimeClang progresses enough to become standard use as well. It seems mostly pretty good but does have some issues. Most of the plugins seem to be for webdev which is sad. More C++ plugins!
  18. 6animalmother9

    6animalmother9 Member

    Messages:
    92
    Likes Received:
    0

    I tried to code a simple calculator once. It would spew out gibberish. Lets just I'm better at French than I am Coding.

    Just so you know I suck at French.
  19. ooshr32

    ooshr32 Active Member

    Messages:
    749
    Likes Received:
    141
    I'm just glad you guys are all working with tools you find best suit your needs and personal preferences rather than having a standard tool-set rammed down your throats...
  20. zidonuke

    zidonuke Member

    Messages:
    79
    Likes Received:
    3
    What's nice is that the fortune 100 company I work for that shall be unnamed, let us use any tools we want as long as code gets checked into either peforce, svn, or git. Dev teams can choose the repo lol.

Share This Page