Skip to main content

Questions tagged [code-sample]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
20 votes
6 answers

What are better ways of indicating "insert actual value in place of the placeholder value" in documentation?

We develop an online booking system and it may be embedded in customer websites in an iframe. It is very simple to use, you just include a JavaScript file on the page and call the initialisation ...
Kyohei Kaneko's user avatar
1 vote
1 answer

Should usage examples in XML documentation be explicitly tested?

If usage examples are provided in XML documentation, should those examples be explicitly tested? /// <summary> /// Gets a collection of Foo objects. /// </summary> /// <param name="...
Michael J.'s user avatar
3 votes
3 answers

What to send when a client wants a sample of my code to test my qualities?

We've all faced this. You apply to a cool project and they ask you to send them a piece of your code. On the surface, this look OK and I am fine with it. But what shall I send them? My cool utility? ...
deviDave's user avatar
  • 2,953
69 votes
8 answers

Asking for a code sample of the company at an interview [closed]

Asking a job seeker to show some code is a fairly common practice for a software company. However, would it be acceptable for the candidate to ask the interviewer to show him a small piece of code ...
Simon Bergot's user avatar
  • 7,980
2 votes
3 answers

A place for putting code samples in projects

Every now and then I get or write some minimal code samples to achieve tasks. What's the usual practice for storing these samples (which could prove useful later on) ? Have a separate source folder or ...
James P.'s user avatar
  • 1,223
1 vote
3 answers

Has anyone used "Design Pattern Framework (TM)"? [closed]

Has anyone purchased Design Pattern FrameworkTM? Are these samples worth investment? Are they practical? What are the pro and cons of the guidelines? Anyone used this in the real-world development?
oleksii's user avatar
  • 1,206
16 votes
4 answers

What if you don't have code samples to give a prospective employer? [duplicate]

What do you do when you don't have any good code samples available when asked by a prospective employer? I like to consider myself a fairly capable developer but I can't share any of the software I've ...
lucks's user avatar
  • 263
18 votes
5 answers

When applying for an entry level programming position, how do I include my coding examples? [closed]

I will soon begin the process of applying for entry level programming positions. As of now I have no professional coding experience, so all I have to show is some personal projects and code samples to ...
MaQleod's user avatar
  • 714