HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
How the Vanilla dev staff decides important issues
Linc
Admin
Comments
Vanilla Forums COO [GitHub, Twitter, About.me]
So many bytes used for nothing...
So many keystrokes done for nothing...
That makes me sad
I ordered us some more bytes from Office Depot, we should be good.
Vanilla Forums COO [GitHub, Twitter, About.me]
Good to see that you take your time for such important decisions
And a new poetic form, the DaazKu...
I agree with the decision.
The most important thing with coding standards is consistency and clarity.
grep is your friend.
I think the current standards/guidelines should be expanded e.g spacing decision like (· representing spaces)
Do we do?
like some frameworks
Or
Like others.
Both wordpress and phpBB have guidelines to this degree and I have found it has helped quite a bit. I would check out this guideline not to copy exactly, but to give you an idea.
If I know I can bare than in main and also set up some git filters.
Even the current standard have cause some confusion or differences, and there is still a legacy from the old style.
Even the use of strings when it is ok to double quotes or single. Not so much for performance, but consistency and reduce the chance of stupid errors, and germinally be readable.
grep is your friend.
@x00 The latter style - no padding inside brackets & parenthesis. I'm amenable to a doc PR that adds that in a reasonable place if it isn't in there.
We have no specific guidelines on double vs single quotes currently. Generally, I favor single quotes for short non-language strings (like array keys) and double for longer stuff like UI text. I think Vanilla trends toward this but it's pretty fuzzy, and I'm not sure how to write that as a standard or whether the council must be convened for ratification.
I'm in favour of this style of concatenation
not
any operator too should have space either side.
grep is your friend.
the edit button also make doc PRs easier.
grep is your friend.
I recommend git filters that trim trailing spaces and blank lines.
grep is your friend.
given that language text can have
formatString
bracket in it likeMy {Name}
. I think language strings should be single not double.Also the current locales are single.
grep is your friend.
Unfortunately, we've standardized on the latter (no spaces).
That is correct, and I believe it is in our standard.
Excepting the concatenation operator
I don't really care, just thought it was a funny juxtaposition.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
grep is your friend.
One of the problem you have is old variable and properties that started with upper-case.
So we have a situation with two styles side by side.
Things like
->data()
vs->Data
sometimes you do want to access it directly.grep is your friend.
One day we'll do a big backwards compatibility break and go for 3.0. Until then, best to leave variable casing alone.