I've done some Googling for a Scheme style guide, but haven't come up with anything as easily refereceable and concrete as, say, the Google Style Guide for C++. The best I've found so far is this guy. Are there Scheme style guides out there that are as good or better?
"That guy" is quite good and you should read that.
Google just released their style guide for Common Lisp, I think most of the general principles should also apply to scheme. There are also discussions and comments about this guide on Hacker News.
The Scheme wiki has a style guide. It may not be as complete but it gives you the idea.
Related
I am looking for a good tutorial on how to implement a basic Datalog interpreter for learning purposes. I have found a lot of papers which discuss how to make them faster or add some features but none that describes how to implement a basic one.
Here is a sample implimentation, Java source code included:
http://abcdatalog.seas.harvard.edu/
The developers explicitly cite facilitation of research and pedagogy among their objectives.
There are also many links to open source projects here:
https://en.wikipedia.org/wiki/Datalog#Systems_implementing_Datalog
Best of luck!
What is the best source to learn Cappuccino? I do "traditional" web development, but i'm very interested in this new framework. Please note that I have no knowledge of Objective-C.
As mentioned above, the website is a good place, but there are also some other good resources:
http://cappuccinocasts.com/ (screencasts)
http://www.nice-panorama.com/Programmation/cappuccino/
http://www.littletreesoftware.com/blog/
http://theocacao.com/document.page/593
There are a few others too, and many of them are linked to from the site.
I wrote a real life cappuccino tutorial based on an actual customer project: http://www.springenwerk.com/2009/09/real-life-cappuccino-tutorial-part-1.html
On the tutorials is says:
A great introduction to Objective-J. Familiarity with JavaScript is recommended, prior knowledge of Objective-C not required.
http://cappuccino.org/learn/tutorials/
It seems the website is a good place to learn. Interesting framework.
You also have http://www.cappuccino-project.org/learn/
It is our new work-in-progress website. Not complete at all, it still has some very basic tutorials to help you starting coding with Cappuccino
I recently took up learning cappuccino. I found the Cappuccino Casts and the tutorials on cappuccino.org, however, like you, I come from a web development background - not cocoa / desktop apps.
Following some online tutorials was good to a degree, but I felt I lacked fundamental knowledge about the Objective-C and Cocoa and Cappuccino is modelled so closely to it. I bough a copy of Aaron Hillegass' book called "Cocoa(R) Programming for Mac(R) OS X" here: http://www.amazon.com/Cocoa-Programming-Mac-OS-3rd/dp/0321503619/ref=pd_sim_b_3 which I felt really helped with my base understand of application development rather than traditional web development.
I would definitely recommend giving it a read, I worked my way through it in a few days and thought it gave enough knowledge to understand what all the Cappuccino stuf was about.
I recently found that when I install Cappuccino from source, there is a fairly significant amount of code to learn from hidden away in <install-dir>/Cappucino/Tests/Manual
There is a wealth of code there that isn't advertised anywhere but is certainly good enough to learn from. Just drop the Frameworks next to the index.html file in each test folder and open up and learn!
There must be many online resources for good user interface design principles. I'd like to see an easily-browsed list, perhaps categorized by desktop vs. on-line (or maybe not; that might be too limiting).
Any examples out there?
The List (so far)
A List Apart
Designing Web Interfaces
Jakob Nielsen's useit.com
Quince
Smashing Magazine
Usability Post
Yahoo Design Pattern Library
Designing Web Interfaces
I honestly think that StackOverflow really has a well thought out UI. Access to most everything is intuitive and efficient.
I've already changed some of my own interfaces based on things I have seen here.
Quince by Infragistics has a pretty good selection.
A List Apart
also, Smashing Magazine is pretty good.
as is Usability Post
A List Apart provide articles about design and also how to make them standards compatible.
Don't miss Jakob Nielsen's useit.com website.
You might be looking for "design patterns," common ways we present and perform interactions, such as those discussed in Jenifer Tidwell's book, Designing Interfaces. Her book's site links to her original pattern library, Common Ground, as well, but the book is a good one to own.
Yahoo! has a Design Pattern Library, focused on web design patterns, and Quince was mentioned in a previous comment.
http://designingwebinterfaces.com/, the accompanying website to the homonym book has some good patterns.
I'm looking for a site or book or any other source of tiny programming tasks one can implement in preferred language. Would be great if examples are present too. And would be superb if there're people who may review my code. May be there's a wiki of such tasks. I've tried to google, but found nothing that suits my needs.
I want to improve my skills in programming using certain language but don't have specific task at hand. Any advice would be greatly appreciated.
Project Euler and the Facebook Puzzles are oft-touted examples.
There's a book called "Programming Pearls" by Jon Bentley which is definitely worth reading and trying out...
Chris Rathman is one of at least a few people I've seen who are working the exercises in Structure and Interpretation of Computer Programs in multiple languages. I'm currently still in the Scheme phase, but it seems like a neat exercise to me!
Try sourceforge, there are many interesting projects and many of them are looking for volunteers.
Where would one find information or just rather good ideas on what is considered proper programming ethics or methodology of how to format the code, comments, or even variable names so that it is easier to read the code at a later time?
Thanks!
The book Code Complete 2 is a timeless reference for good coding practice.
The absolute 'must-read' for you is Robert C. Martin's book Clean Code. Do give it a try. It makes some awesome points. I keep recommending to everyone ever since I bought it 6 months ago.
Edit
I thought reading my Amazon review could help :)
You're asking for Coding Standards, which are language specific.
For C# check out The IDesign C# Coding Standard (on the right-side of the screen in the middle of the page)
For .NET in general see Design Guidelines for Developing Class Libraries
For C++ check here
For Java see Sun's resource Code Conventions for the JavaTM Programming Language
For C++ I use the C++ google style guide
Including Code Complete and Clean Code I would recommend you to read "The pragmatic programmer" and "Ship it!". The last books mentioned are not so much about how to format the code, comments, ect. but rather about best practices for developers and development.
Three books I consider essential for beginning OO programmers.
"Refactoring: Improving the Design of Existing Code".
Although modern IDEs often support automatic refactor, this book is still useful. By knowing the reason (or code smell) behind a particular refacoring, you can strive to write the correct code the first time.
"Pragmatic Programmer"
A wealth of best practices.
"Design Pattern"
Most advanced book, but still useful.
Clean Code is certainly a good book. Martin's Agile Principles, Patterns, and Practices in C# is my recommendation if you want a more .NET specific book.