Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.

Questions tagged [code-sample]

Filter by
Sorted by
Tagged with
21 votes
6 answers
6k views

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 ...
Daniel Vernall's user avatar
1 vote
1 answer
107 views

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
2k views

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,963
69 votes
8 answers
6k views

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
  • 8,030
2 votes
3 answers
572 views

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
8k views

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
4k views

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
19k views

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