Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: More Community-driven Development  (Read 20604 times)

0 Members and 1 Guest are viewing this topic.

FRex

  • Hero Member
  • *****
  • Posts: 1848
  • Back to C++ gamedev with SFML in May 2023
    • View Profile
    • Email
Re: More Community-driven Development
« Reply #30 on: June 19, 2013, 05:23:57 pm »
Binary operators are padded with spaces, so are colons in init lists and access qualifiers, there is always space after if word and sharp brackets always are on own lines. Many things are padded to line up nicely like:
float WhateverX =  b;
float WhateverY = -b;
Namespaces are not indented, there is one space after ,
init lists have each element on own line.  & and * sticks to variable type and there is space between it and variable name.
One line if blocks can skip brackets.
New style casts are used.
There is strict const correctness.
« Last Edit: June 19, 2013, 05:28:53 pm by FRex »
Back to C++ gamedev with SFML in May 2023

Syntactic Fructose

  • Jr. Member
  • **
  • Posts: 80
  • Overflowing stacks and eating snacks
    • View Profile
Re: More Community-driven Development
« Reply #31 on: June 20, 2013, 01:39:13 am »
I would love to help contribute to SFML! I just started watching the repository on github yesterday. After my haskell learning cools down a bit I would hope I can jump in and help fix some SFML bugs/contribute in any way I can.