15 ms·
The Unhinged Nature of GTA V Source Code [video]
- willio58 3y agoThis is great. The comments totally match the language of the NPCs in the GTA game, like as if they're coding their own game.
- SanjayMehta 3y ago[flagged]
- deleted 3y ago[deleted]
- beeboobaa 3y agoIs this serious or sarcasm?
- SanjayMehta 3y agoDoes it matter? These days there will someone who’ll be offended either which way.
- saagarjha 3y agoThey might be happy that they don’t have to deal with you either.
- SanjayMehta 3y ago[flagged]
- tlivolsi 3y agoGood riddance
- syspec 3y agoTo me, comments, and more specifically the tone of the comments are a reflection of the working environment.
- simonw 3y agoRockstar North are based in Edinburgh, Scotland. Different places around the world have different cultures around things like swearing at work.
- elliottkember 3y agoAnybody who has moved from the UK to the US has found this out. Hopefully without HR also finding out.
- Hamuko 3y agoWait, you don't swear at work?
- dkjaudyeqooe 3y agoDepends on who you're talking to, really: coworkers yes, boss's boss boss, no.
- grepfru_it 3y agoWhy the fuck not?
- dkjaudyeqooe 3y agoTry it.
- trilbyglens 3y agoI've gotten swatted down even in a small work group with a "let's keep it PG here"
- SanjayMehta 3y agoTwo comments which have stuck in my head for decades 1. “May the fleas of a 1024 camels infest the armpits of anyone who overflows this buffer.” 2. “TODO: this function needs to be spanked.”
- dewbrite 3y ago3. Someone gone and fucked the sun up
- TibbityFlanders 3y ago[dead]
- Hnrobert42 3y agoThat text to speech is terrible.
- qaq 3y agoTh best code comment story was told by Joe Armstrong " Robert Virding, who developed Erlang with me, was famed for his comment. Singular. The entire stuff he wrote had one comment: in the middle of the pattern-match compiler there was a single line saying ‘and now for the tricky bit".
- notbeuller 3y agoI want to say it was at Sun in the mid 80s, most code lacked comments but there was one idiosyncratic data structure with field names having specific prefixes - with the comment “She’s Hungarian!” (Hungarian notation, presumably - and who was “she”?)
- vocx2tx 3y ago> and who was “she”? The structure, probably. In gendered languages objects have a grammatical gender, and "structure" is feminine in at least French, Italian, and Spanish (they all derived from Latin "structura", which is feminine). Non-native English speakers will sometime carry over a noun's gender when writing in English.
- minecrft 3y ago[flagged]
- beenBoutIT 3y agoMakes me wonder why there isn't something simple that encrypts and decrypts comments.
- trilbyglens 3y agoProbably because most people assume that private code will remain private.
- hn92726819 3y agoI would think securing source code is significantly more important than securing comments. So any encryption or protection would cover the entire codebase instead of just the less important parts
- atesti 3y agoThe video only shows some cursing comments from the source code. Did anybody find any real discussions of the internals of gtav after the leak that are interessting? Any new modding projects?
- therein 3y agoIt was as modded as it could get anyway. A lot of the stuff you'd want to modify is already in Lua as far as I know.
- Perenti 3y agoThe best comment I ever saw was in a body-corporate-management suite I maintained for a short while. The comment was at the beginning of a 200 000 line pascal program. It was the only comment in the file. It advised anyone being approached to maintain it to at least double their quote, as the code used 1 and 2 letter names for variables, constants, functions and procedures. It also advised that the same variables were used for multiple purposes, and that maintaining it was a total nightmare. The comment was correct. The only variable name that made any sense was l (el, not one), which always held the current line the cursor was on. I was thrilled when I worked out what l (el) did. -- added clarification due to fonts that make l look like I or 1
- rabbits_2002 3y agowhenever i work on a private repo the first thing i do is search the code for curse words to find stuff like this lol