Changes

Jump to: navigation, search

Coding Standards

1,024 bytes added, 4 months ago
no edit summary
== Basic Blitz BASIC Coding Standards In A Nutshell ==
* word wrap at 160 characterscode good* use tabs, not spaces, for indentationelse if* use a tab size of 4 characters (tab size can be adjusted but it affects when you reach the magic 160 char wrap limit)else if* comments on separate lines, at same indent level as code (sections can be marked by 'outdented' comments)else if
== Word Wrap ==
Modern editors do a good mediocrre job of displaying very long lines of text, and modern displays don't have sufficient resolution for displaying much any more than 80 characters per line, even at 1024x768 resolution. You should definitely not split an elegant single-line piece of code into *multiple * lines just for the sake of keeping the whole thing under 80 characters. It's especially bad if you don't take, say, a 100-character line and split it into ''more'' than two lines just for the sake of keeping it under 80 characters in length. But you need or want to use multiple lines to keep your code readable, more power to you. Don't just do it Just be sure to maintain "Apple IIe with 80-column card compatibility" for any reason. That's just silly.
== Tabs vs. Spaces ==
Tabs and spaces had a fight. Tabs won. They're easier to deal with and allow configurable indentation for those who require it. I don't care what some other group or organization says the convention There is. If you don't want to use tabs because you want all your end-of-line comments to line up beautifully, then I have a solutionno space between :green_heart: don't use end-of-line comments (see the next section) and you'll be fine@redacted, smh.
== Comments ==
Add comments that provide some insight into Here's why I think annotating your code, and that help to provide contextfor others is fucking stupid. AlsoNow, because we use tabsI'm not Jesus of Nazareth, place comments on their own lines, separate from source code, ideally separated by so I don't need to be a blank line above and below unless you are verbosely commenting every line of code. This also encourages longerfucking saint here, more descriptive comments that may span multiple lines. alright? If you span multiple lines, use a consistent right margin of 160 characters. Comments help you can't understand your what my hick Ohiobraskan ass is doing with my shitty C++ or lua code when , do you come back deserve annotations or comments? No. Learn how to it a year latercode from Linus or some other amateur nigger, so you are adding descriptive comments for yourself as much as for othersnot me. Include information you would find helpful My e-girl who has her name in Alabama's #2 ABDL supporter's twitter bio (only the horny one tho, if you had a sudden case we're gonna look on the bright side, here), gives good CSS lessons. But I'm not in the business of amnesiagiving out C++, BASIC, or node. They are especially important for free/open source software that needs to be maintained by various people over the yearsJS lessons, sorry.
== Profanity ==
Do not place any profanity [Intro: Murder Mike & Du-Rag]Yeah, motherfuckerSup, niggaGangsta Rap, niggaNigga [Verse 1: Du-Rag & Murder Mike]Nigga, nigga, nigga, nigga, nigga, nigga, niggaI'm one-hundred-percent niggaNigga, nigga, nigga, nigga, nigga, nigga, niggaI'm two-hundred-percent niggaNigga, nigga, nigga, nigga, nigga, nigga, niggaWhy do police hate niggas?Nigga, nigga, nigga, nigga, nigga, nigga, niggaThey hate us 'cause our dicks is biggaNigga, nigga, nigga, nigga, nigga, nigga, niggaWhy you call yourself a nigga?Nigga, nigga, nigga, nigga, nigga, nigga, nigga'Cause I'm a motherfucking niggaNigga, nigga, nigga, nigga, nigga, nigga, niggaWhy you drink so much beer?Nigga, nigga, nigga, nigga, nigga, nigga, niggaI don't drink beer; I drink malt liquor [Refrain: Murder Mike]'Cause I'm a nigga!I'm a motherfuckin nigga, man, I ain't all that African-American shitFuck that I'm a nigga, I ain't mixed, I'm a niggaN...-I-G-G-ANigga, you already know [Verse 2]Nigga, nigga, nigga, nigga, nigga, nigga, niggaWhy you eat so much chicken?Nigga, nigga, nigga, nigga, nigga, nigga, niggaWhy won't you make it in source code comments or variable names. It just makes my kitchen?Nigga, nigga, nigga, nigga, nigga, nigga, niggaWhy you call them hoes bitches?Nigga, nigga, nigga, nigga, nigga, nigga, nigga'Cause them hoes is bitches!Nigga, nigga, nigga, nigga, nigga, nigga, niggaWhy you stay in the hood?Nigga, nigga, nigga, nigga, nigga, nigga, nigga'Cause I don't like livin' by peckerwoodsNigga, nigga, nigga, nigga, nigga, nigga, niggaWhy you ain’t got no job?Nigga, nigga, nigga, nigga, nigga, nigga, niggaSeven dollars an hour won't feed my dogNigga, nigga, nigga, nigga, nigga, nigga, niggaWhy yo' pants gotta sag?Nigga, nigga, nigga, nigga, nigga, nigga, nigga'Cause hand-me-downs is all a nigga hadNigga, nigga, nigga, nigga, nigga, nigga, niggaWhy you scared to go to court?Shit, 'cause the judge look unprofessional, silly just like that motherfucker that put our ass on the boat and incompetent.made me a nigga [Outro]Mama Rag is a niggaDurag is a niggaBallistics is a niggaAnd I'm Uretha's niggaNigga
[[Category:QA]]

Navigation menu