Author Topic: Google Common Lisp Style Guide  (Read 1975 times)

0 Members and 1 Guest are viewing this topic.

Krushert

  • Seagull
  • Posts: 13573
  • FREE BEER Tomorrow!!
Google Common Lisp Style Guide
« on: September 24, 2014, 11:29:53 AM »
Fell into a Internet Rabbit Hole and look what I found.   Enjoy!

Google Common Lisp Style Guide

Quote
Background

Common Lisp is a powerful multiparadigm programming language. With great power comes great responsibility.

This guide recommends formatting and stylistic choices designed to make your code easier for other people to understand. For those internal applications and free software libraries that we develop at Google, you should keep within these guidelines when making changes. Note however that each project has its own rules and customs that complement or override these general guidelines; the speed-oriented QPX low fare search engine notably has a very different style and feel from the QRes reservation system.

If you're writing Common Lisp code outside Google, we invite you to consider these guidelines. You may find some of them useful where they don't conflict with other priorities you have. We welcome remarks and constructive feedback on how to improve our guide, and on what alternate styles work for you and why.

**Corrected link**
I + XI = X is true ...
... if you change your perspective.

d2010

  • Newt
  • Posts: 37
Re: Google Common Lisp Style Guide
« Reply #1 on: September 25, 2014, 01:30:18 PM »
Fell into a Internet Rabbit Hole and look what I found.   Enjoy!
Google Common Lisp Style Guide[/url]

Hi,,
You give me, the forum-site, forum link with
                      "Google Common Lisp Style Guide"
This  forum must have 10-20 users
i cannot  learn alone,the lisp  google-comoon.
Regards..



Master_Shake

  • Swamp Rat
  • Posts: 1447
Re: Google Common Lisp Style Guide
« Reply #2 on: September 25, 2014, 02:22:29 PM »
Fell into a Internet Rabbit Hole and look what I found.   Enjoy!
Google Common Lisp Style Guide[/url]

Hi,,
You give me, the forum-site, forum link with
                      "Google Common Lisp Style Guide"
This  forum must have 10-20 users
i cannot  learn alone,the lisp  google-comoon.
Regards..

Whoa wait what?

divtiply

  • Newt
  • Posts: 60
Re: Google Common Lisp Style Guide
« Reply #3 on: September 28, 2014, 03:43:20 PM »
There is also Riastradh's Lisp Style Rules.
Note closing brackets style in both guides.

lamarn

  • Swamp Rat
  • Posts: 601
Re: Google Common Lisp Style Guide
« Reply #4 on: September 28, 2014, 04:18:09 PM »
Is this the same LISP as AutoCAD lisps? Im lispening..
Design is something you should do with both hands. My 2d hand , my 3d hand ..

John Kaul (Se7en)

  • Administrator
  • Needs a day job
  • Posts: 9260
Re: Google Common Lisp Style Guide
« Reply #5 on: September 29, 2014, 08:31:08 AM »
Is this the same LISP as AutoCAD lisps? Im lispening..

No. These documents are for Common Lisp not Auto Lisp (different languages) but that isn't to say that you cant use them as guidelines for your lisp writing. Just keep in mind that not all stuff in those documents will pertain (Auto lisp doesn't have near the features Common lisp does). Common lisp is a compiled language that has been in use for a very long time. Auto Lisp came from a language called Scheme.

The Common Lisp language is still used but it's most often used in academia and old-school programmers. The lisp programmers use an editor called Emacs (Vim is for the C guys and Emacs is for lispers) so you may see a lot of reference to that editor. Emacs is an extremely powerful text editor and works wonderfully with the lisp syntax.
“Common sense is not so common.” ~Voltaire

--> Donate to TheSwamp.org <--