GTA V is coded in Java?

jonthedit

Well-Known Member
OP
Member
Joined
May 30, 2011
Messages
1,682
Trophies
0
XP
1,010
Country
Bangladesh
After looking at the 'confirmed leaked' source code image of Grand Theft Auto V's "Heists" DLC, I noticed the formatting has a high resemblance of Java. Then again, there are other programming languages that also end in a semicolon;

gta-v-heists-payout.jpg
 

Minox

Thanks for the fish
Former Staff
Joined
Aug 27, 2007
Messages
6,998
Trophies
2
XP
6,162
Country
Japan
Java's syntax is largely based upon C & C++ and for that reason alone you can't just look at what I assume to be constants being declared to determine the programming language being utilized. I highly doubt they'd use Java for game development though.
 

Oxybelis

Well-Known Member
Member
Joined
Jan 10, 2010
Messages
350
Trophies
0
XP
383
Country
It's just internal style for configuration files. Like .inf or .ini in Windows.

All high end games on consoles use mixed C, C++ lang with various other langs for scripting.
 

Foxi4

Endless Trash
Global Moderator
Joined
Sep 13, 2009
Messages
30,843
Trophies
3
Location
Gaming Grotto
XP
29,928
Country
Poland
Seeing that heists are online content, I wouldn't be surprised if they were made in Java to facilitate live updates while the rest of the game is pre-compiled in C++, although the snippet above doesn't prove that theory. I've seen it done in multiplayer games before.
 

sandytf

Well-Known Member
Member
Joined
May 5, 2013
Messages
133
Trophies
1
Age
44
XP
675
Country
United States
That appears to be a snippet from either some type of configuration/data file or a scripting language. Assuming normal coding practices are in use, that can't be Java, C, or C++ since the "variable" names are in all capitals. Normally, names in all capitals represent constant values, but the displayed lines of code do not specify data types. If that code was Java, C, or C++, then the code would have to be assigning values to already declared variables (not constants) and go against a very common naming convention. Additionally, the code appears to be using parentheses to indicate comments. This is not possible in Java, C, or C++.
 
  • Like
Reactions: jonthedit

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • RedColoredStars @ RedColoredStars:
    Guy doesnt know wtf hes talking about half the time
  • realtimesave @ realtimesave:
    @SylverReZ that reminds me that my friend sells CRTs he gets cheap or free for hundreds of dollars. people are dumb
    +1
  • RedColoredStars @ RedColoredStars:
    And is incredibly annoying.
  • realtimesave @ realtimesave:
    man I just washed my shoes and they look exactly the same as before I washed them :|
  • realtimesave @ realtimesave:
    luckily they didn't fall apart
  • RedColoredStars @ RedColoredStars:
    Some CRTs are very much worth the price
  • RedColoredStars @ RedColoredStars:
    i used to go out to the recycling center every couple weeks and look at the crts and other electronics people would drop off. Usually screens were broken or severely scratched from being tossed around. Did find a good one here and there, but never anything like a 1080i widescreen crt.
  • RedColoredStars @ RedColoredStars:
    Or a good contition 40" Sony Trini that weighs 300 lbs. lol
  • RedColoredStars @ RedColoredStars:
    Literally 300 lbs. lolol
  • BigOnYa @ BigOnYa:
    I have a few of those boat anchors in my basement I tried giving away but no one wanted them, So anyone close to Columbus, Ohio area that wants them, (26", 2x 19") please come get, for free.
  • RedColoredStars @ RedColoredStars:
    Dont know anyone wants those smaller ones. Most are after larger sizes and the kinda top of the line models
  • RedColoredStars @ RedColoredStars:
    Motion handling and input lag on those things destroy plasmas, led, oled
  • realtimesave @ realtimesave:
    I had some really nice CRTs I should've kept
  • realtimesave @ realtimesave:
    now I have all lcd
  • realtimesave @ realtimesave:
    one in particular I regret getting rid of oh well :|
  • realtimesave @ realtimesave:
    the Sonys and stuff I don't care about
  • realtimesave @ realtimesave:
    and used LCD are hard to sell I can imagine.. not worth much
  • realtimesave @ realtimesave:
    @SylverReZ where do u lurk
  • a_username_that_isnt_cool @ a_username_that_isnt_cool:
    Is it piracy if it was released for free? Not in my opinion, but I also think it's not piracy if buying it isn't owning it, and it's not piracy if you can't buy it from the original creators anymore.
  • K3Nv2 @ K3Nv2:
    Free release can have loopholes where they still make money through ads
    +1
  • Xdqwerty @ Xdqwerty:
    sigh
  • Xdqwerty @ Xdqwerty:
    @a_username_that_isnt_cool, could you change your username?
  • Xdqwerty @ Xdqwerty:
    i guess not...
    Xdqwerty @ Xdqwerty: i guess not...