357mag 2 Posted May 10, 2023 I've wondered if I should do this: EditPrompt->Text or this by adding some whitespace: EditPrompt -> Text How do you guys do it or is there a convention? Share this post Link to post
Remy Lebeau 1436 Posted May 11, 2023 1 hour ago, 357mag said: How do you guys do it or is there a convention? This is entirely a matter of personal choice. The compiler doesn't care one way or the other, it ignores whitespace between language tokens. So use whichever format is easier for you to read/write. Personally, I don't use whitespace around '->'. Share this post Link to post
Fr0sT.Brutal 900 Posted May 11, 2023 I don't use CB but -> is not an operator here which are recommended to be delimited. It's member accessor that form a concrete variable. It should not be broken (with exception for newlines and chained calls if you wish) Share this post Link to post