Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 4 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Updating script support, taking requests
Tomato Cat Offline
Senior Member

Posts: 287
Threads: 2
Joined: Sep 2012
Reputation: 20
#41
RE: Updating script support, taking requests

(08-29-2013, 08:52 PM)Apjjm Wrote: I am against the integer to bool implicit conversion on the grounds of legible code. When the boolean type has been made available, it is best practice to use a boolean to represent a boolean value, rather than stick in some coercion to get around the fact that int isn't bool - especially when the language does not do this by default. Just use !=0 - it is far easier to see what is going on at a glance, and it's 3 extra characters.

I agree, as well.

But I *think* JAP was asking for something like the SetLocalVarInt function, only for booleans.

RAISE YOUR DONGERS ヽ༼ຈل͜ຈ༽ノ
08-30-2013, 01:44 AM
Find


Messages In This Thread
RE: Updating script support, taking requests - by Tomato Cat - 08-30-2013, 01:44 AM



Users browsing this thread: 1 Guest(s)