Coding Style Guides for all languages. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 117

Coding Style Guides for all languages.

Style Guides are for consistent code among every coders. like for open source community, group projects. Here's an article explaining the benefits of a style guide. it's for JavaScript but can be generalized for Style guide. https://www.sitepoint.com/why-use-javascript-style-guide/ Note: the site point article suggests to omit semicolon. In my Experince that causes some error in Javscript codes. use semicolon in Javascript! CSS style guide https://cssguidelin.es/ Google CSS/HTML style guide https://google.github.io/styleguide/htmlcssguide.html Brief summary of the Cpp guide https://github.com/isocpp/CppCoreGuidelines/blob/master/README.md Core guidelines for Cpp https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md Ruby style guide https://github.com/bbatsov/ruby-style-guide/blob/master/README.md Ruby Style guide from Airbnb https://github.com/airbnb/ruby/blob/master/README.md#be-consistent # suggested by @4rontender # Python style guide https://www.python.org/dev/peps/pep-0008/ Google's Python Style Guide https://google.github.io/styleguide/pyguide.html # Suggested by David Ashton # JavaScript style guide https://standardjs.com/#the-rules Google style guide for Javascript https://google.github.io/styleguide/jsguide.html Javascript style guide by Airbnb https://github.com/airbnb/javascript/blob/master/README.md # suggested by @4rontender # Google Style Guide for Java https://google.github.io/styleguide/javaguide.html Twitter style guide for Java https://github.com/twitter/commons/blob/master/src/java/com/twitter/common/styleguide.md PHP standard recommendations guides index https://github.com/php-fig/fig-standards/blob/master/index.md Note: if you know of any good resource, better alternative do post the info.

5th Oct 2017, 12:54 PM
Lord Krishna
Lord Krishna - avatar
40 Answers
+ 45
Great work Lord. I'm running out of cookie now! ;D ⬛⬜⬜⬜⬜ ⬛⬜⬜⬜⬜ ⬛⬜⬜⬜⬜ ⬛⬜⬜⬜⬜ ⬛⬛⬛⬛⬛ ⬜⬛⬛⬛⬜ ⬛⬜⬜⬜⬛ ⬛⬜⬜⬜⬛ ⬛⬜⬜⬜⬛ ⬜⬛⬛⬛⬜ ⬛⬛⬛⬛⬜ ⬛⬜⬜⬜⬛ ⬛⬛⬛⬛⬜ ⬛⬜⬜⬛⬜ ⬛⬜⬜⬜⬛ ⬛⬛⬛⬛⬜ ⬛⬜⬜⬜⬛ ⬛⬜⬜⬜⬛ ⬛⬜⬜⬜⬛ ⬛⬛⬛⬛⬜
3rd Oct 2017, 2:14 PM
Babak
Babak - avatar
+ 22
@Samaritan Sure, welcome!
3rd Oct 2017, 12:05 PM
Lord Krishna
Lord Krishna - avatar
+ 21
No issues @Babak 😇 it's nothing, compared to your contribution, help to the community. 🍪☕😀😇👍
3rd Oct 2017, 2:16 PM
Lord Krishna
Lord Krishna - avatar
+ 20
But be aware and don't edit your post description by app once you done that in your browser. @lenore
4th Oct 2017, 5:31 PM
Babak
Babak - avatar
+ 19
Let's call 911 for 911 posts by Lord ! 🚓🚓🚓 ⬜🚔🚔🚔⬜ 🚔⬜⬜⬜🚔 ⬜🚔🚔🚔🚔 ⬜⬜⬜⬜🚔 ⬜🚔🚔🚔⬜ ⬜⬜🚔🚔⬜ ⬜🚔⬜🚔⬜ ⬜⬜⬜🚔⬜ ⬜⬜⬜🚔⬜ ⬜⬜⬜🚔⬜ ⬜⬜🚔🚔⬜ ⬜🚔⬜🚔⬜ ⬜⬜⬜🚔⬜ ⬜⬜⬜🚔⬜ ⬜⬜⬜🚔⬜
4th Oct 2017, 2:21 PM
Babak
Babak - avatar
+ 16
@Gistavo Gauthier Dein Willkommen! 😇
3rd Oct 2017, 4:14 PM
Lord Krishna
Lord Krishna - avatar
+ 14
@Armin Thanks for informing PHP was added :)
4th Oct 2017, 1:54 AM
Lord Krishna
Lord Krishna - avatar
+ 13
style guide from airbnb is the best for me😎
5th Oct 2017, 12:39 PM
\__(° = °)__/
+ 13
@4rontender done added Airbnb's Javascript & ruby style guides
5th Oct 2017, 12:55 PM
Lord Krishna
Lord Krishna - avatar
+ 11
@David Thanks for the guide.
4th Oct 2017, 2:54 AM
Lord Krishna
Lord Krishna - avatar
+ 10
Thanks Really appreciate it 😊
3rd Oct 2017, 12:09 PM
Kabulput
Kabulput - avatar
+ 10
Google's Python Style Guide "Python is the main scripting language used at Google. This style guide is a list of dos and don'ts for Python programs." https://google.github.io/styleguide/pyguide.html
4th Oct 2017, 2:47 AM
David Ashton
David Ashton - avatar
+ 10
thank you so much ! :)
4th Oct 2017, 3:49 AM
AL.The.Flame!
AL.The.Flame! - avatar
+ 10
Superb work :-) Thank you Lord Krishna.
5th Oct 2017, 2:14 AM
Mayank Sakhare
Mayank Sakhare - avatar
+ 10
The Little Book of Python Anti-Patterns Just came across another Python style guide. Shows good coding style by examining samples of bad coding :) http://docs.quantifiedcode.com/python-anti-patterns/
10th Oct 2017, 4:06 AM
David Ashton
David Ashton - avatar
+ 10
Thanks for this guide👍👍
28th Feb 2019, 3:44 PM
Nora
Nora - avatar
+ 9
Thank you very much!
3rd Oct 2017, 12:04 PM
Koketso Dithipe
Koketso Dithipe - avatar
+ 7
Thank you very much @Lord Krishna, what good guidance that is, really useful..
3rd Oct 2017, 12:25 PM
Ipang
+ 6
Vielen dank!
3rd Oct 2017, 4:10 PM
Kustaa