The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
205 views

Where does the tradition of shell prompts in code snippets come from?

Most code samples I see that demonstrate shell code preface each command with $. Having a prefix makes sense, but I'm confused as to why $ is used in particular. Some other symbol, like !, that can be ...
1
vote
1answer
2k views

Automatic code snippets in VS 12

I've decided to customize my VS12 to perfectly mirror my wishes. However, due to the lack of time, I'd like to start by just simply adding some code snippets first. Addins and such will have to wait ...
2
votes
3answers
123 views

How to organise utility scripts inside a development team?

Inside my development team there are a lot of tooling/utility scripts around all members. Those scripts are mainly for specific tasks and shouldn't be part of our SCM (perforce). How should we ...
1
vote
1answer
246 views

Copyrights concerning code snippets and larger amounts of code [closed]

I am designing a public code repository. Users will be allowed to post and edit whatever amount of code they want, from code snippets to entire multi-file projects. I have a few major legal concerns ...
4
votes
3answers
2k views

What is your suggestion to write clean and well organized php code?

I am a php beginner coder. I always find myself in a mess when I try to alter or add something to my scripts. Because they are not well organized. So, I want to learn how to organize my code, so it ...
2
votes
3answers
129 views

What are some precedents on how substantial a snippet must be to be copyrightable? [duplicate]

I occasionally worry that when I borrow snippets of code from websites, etc. there's at least the theoretical possibility that this will be copyright infringement. However, small pieces of code to ...
6
votes
5answers
489 views

How do I let programmers know something useful?

Quite often I go through pain to discover how to do something useful, in this case how to get PHP running on Google App Engine without the 'resin.jar too big' problem, but I have nowhere to let people ...