Pages: « 1 2 3
  Print  
Author Topic: A couple ideas (ENIGMA and LGM at the same time)  (Read 5266 times)
Offline (Unknown gender) Darkstar2
Reply #30 Posted on: June 19, 2014, 01:13:59 AM
Member
Joined: Jan 2014
Posts: 1244

View Profile Email
According to topic title I think it's pretty much on topic :P
the revamping of docs and all count as suggestion / ideas :D
Logged
Offline (Unknown gender) egofree
Reply #31 Posted on: June 19, 2014, 03:01:30 PM
Contributor
Joined: Jun 2013
Posts: 603

View Profile Email
When declaring variables, please use clear names, not 'one letter' name, or incomprehensible names.

Example in LateralGm:

Code: [Select]
boolean duo;
Much better :

Code: [Select]
boolean deleteUnderlyingObjects;
Logged
Offline (Unknown gender) Darkstar2
Reply #32 Posted on: June 19, 2014, 04:08:09 PM
Member
Joined: Jan 2014
Posts: 1244

View Profile Email
Very solid and valid point, especially in an open project where other people are encouraged to contribute........:P
Logged
Offline (Male) Goombert
Reply #33 Posted on: June 19, 2014, 04:40:54 PM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 3110

View Profile
Heh, I usually follow that convention egofree, I didn't write that code.

I usually use uppcase for classes for classes, eg. MeshStruct, TextureStruct, and lower case for instances or pointers, eg. textureStruct, and lower case plural for collections, eg. texturestructs().
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Unknown gender) egofree
Reply #34 Posted on: June 20, 2014, 02:14:25 AM
Contributor
Joined: Jun 2013
Posts: 603

View Profile Email
...I didn't write that code.

Are you sure ? Because the code in LateralGm is really strange :  :o

Code: [Select]
boolean Robert, Robert2, Robert3, Robert4, Robert5;
boolean Colton, Colton2, Colton3, Colton4, Colton5;

Robert = true;
Colton = true;

if (Robert == true && Colton == true)
  System.out.println("It's not me ! It's not my fault ! I didn't do it !")

I don't know about you, but it looks very suspicious to me !  >:(  ;D  :D
« Last Edit: June 20, 2014, 02:26:12 AM by egofree » Logged
Offline (Unknown gender) Darkstar2
Reply #35 Posted on: June 20, 2014, 02:42:11 AM
Member
Joined: Jan 2014
Posts: 1244

View Profile Email
LOL !


Logged
Offline (Male) Goombert
Reply #36 Posted on: June 20, 2014, 04:25:33 AM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 3110

View Profile
Very funny, but yes I swear I didn't write any of the room editor code. Use git blame if you don't believe me.
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Pages: « 1 2 3
  Print