Pages: 1 2 3
Author Topic: A couple ideas (ENIGMA and LGM at the same time)  (154,726 Views)
Offline (Unknown gender) Darkstar2

Member
Joined: Jan 2014
Posts: 1,238
View profile
Reply #30 Posted on: June 19, 2014, 06:13:59 AM
According to topic title I think it's pretty much on topic :P
the revamping of docs and all count as suggestion / ideas :D
Offline (Unknown gender) egofree

Contributor
Joined: Jun 2013
Posts: 601
View profile
Reply #31 Posted on: June 19, 2014, 08:01:30 PM
When declaring variables, please use clear names, not 'one letter' name, or incomprehensible names.

Example in LateralGm:

boolean duo;

Much better :

boolean deleteUnderlyingObjects;
Offline (Unknown gender) Darkstar2

Member
Joined: Jan 2014
Posts: 1,238
View profile
Reply #32 Posted on: June 19, 2014, 09:08:09 PM
Very solid and valid point, especially in an open project where other people are encouraged to contribute........:P
Offline (Unknown gender) Goombert

Developer
Joined: Jan 2013
Posts: 2,991
View profile
Reply #33 Posted on: June 19, 2014, 09:40:54 PM
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().
Offline (Unknown gender) egofree

Contributor
Joined: Jun 2013
Posts: 601
View profile
Reply #34 Posted on: June 20, 2014, 07:14:25 AM
Quote from: Robert B Colton on June 19, 2014, 09:40:54 PM
...I didn't write that code.

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

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
Offline (Unknown gender) Darkstar2

Member
Joined: Jan 2014
Posts: 1,238
View profile
Reply #35 Posted on: June 20, 2014, 07:42:11 AM
LOL !


Offline (Unknown gender) Goombert

Developer
Joined: Jan 2013
Posts: 2,991
View profile
Reply #36 Posted on: June 20, 2014, 09:25:33 AM
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.
Pages: 1 2 3