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

0 Members and 1 Guest are viewing this topic.

Krushert

  • Seagull
  • Posts: 13679
  • 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.

I no longer CAD or Model, I just hang out here picking up the empties beer cans

d2010

  • Bull Frog
  • Posts: 323
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..



ChrisCarlson

  • Guest
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

  • Guest
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: 636
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 ..

JohnK

  • Administrator
  • Seagull
  • Posts: 10603
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.
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org