id
stringlengths
36
36
input
stringlengths
15
149
expected_output
stringlengths
26
4.44k
metadata.query_id
stringlengths
3
6
metadata.split
stringclasses
1 value
d5a71a45-5049-4180-b00a-26daf725d008
How to cut the line between quality and time?
[{"id": "14596", "score": 1}]
215042
test
dce12be2-363c-4481-9e1d-b87dfc2b18c8
How to refactor a method which breaks "The law of Demeter" principle?
[{"id": "220219", "score": 1}]
154954
test
71166f26-4ad7-4ba6-948a-e9725e9ad1d2
Is code like this a "train wreck" (in violation of Law of Demeter)?
[{"id": "208713", "score": 1}]
109818
test
740b955c-886b-4c93-a9ca-c212dbbf3a98
Should I keep investing into data structures and algorithms?
[{"id": "237809", "score": 1}, {"id": "53123", "score": 1}, {"id": "122689", "score": 1}]
50755
test
3c7ee76b-b2b5-4c73-9001-0f0bf88d4947
Why is Python used for high-performance/scientific computing (but Ruby isn't)?
[{"id": "74832", "score": 1}, {"id": "190414", "score": 1}]
138643
test
e0891c2b-8d16-4032-9530-d24b2b3cf4b8
Extracting user requirements from a person who does not know how to express himself
[{"id": "143629", "score": 1}]
108309
test
31344286-13c5-4816-b508-4e3047800db4
Is there a drawback in defining multiple small DRY classes, instead of bigger more repetitive classes?
[{"id": "103233", "score": 1}]
138642
test
d0a95052-b7ea-4cf8-9ad8-faba192e033b
How can I avoid editing conflicts repeatedly when merging from one to branch to another?
[{"id": "229311", "score": 1}]
199838
test
a43b5e88-816d-44b1-b2c7-34de9b5513df
Designing online exam
[{"id": "222465", "score": 1}]
222464
test
b57a8b06-a3cb-4e1b-bc6d-c39006c84edd
Are debugging skills important to become a good programmer?
[{"id": "135383", "score": 1}, {"id": "228686", "score": 1}]
29534
test
ef7d7500-1662-4946-81be-e4b88f8c6d8f
What are the guidelines for either throwing an exception or failing silently for nonvalid arguments?
[{"id": "190528", "score": 1}]
213070
test
9d67a85f-1694-46b1-b4d8-9158363eb0d6
Stopping developers committing to the wrong branch on DVCS
[{"id": "244912", "score": 1}]
210360
test
a53ee282-bc9f-45fa-b3f8-21d031786f4b
Java GNU Licensing
[{"id": "52534", "score": 1}, {"id": "199116", "score": 1}]
131408
test
c9198c44-8ff9-4f5d-b6d0-23ec1df5f401
Difference between application-level and system-level testing
[{"id": "200885", "score": 1}]
204840
test
194cb7cd-c1f9-4cc6-ac6d-554d8299667e
if it's been designed correctly is AOP useful?
[{"id": "19244", "score": 1}]
137973
test
63017d08-6f35-4c44-a3c2-68a454149965
When do you not give help to less experienced programmers?
[{"id": "106909", "score": 1}]
67960
test
6b917bfe-cc67-40ae-bae9-54e167a69803
Is it must for a junior Programmer to have a mentor?
[{"id": "74222", "score": 1}]
161711
test
9608a2c1-8485-48b2-84c8-bdfdc25fc897
C++ - Constructor or Initialize Method to Startup
[{"id": "66858", "score": 1}]
175594
test
ddf1c0fb-4bd5-4223-971c-fe3c8bc00d53
How do we add software to a machine?
[{"id": "81624", "score": 1}]
253496
test
a6e816ab-3ba9-4b80-a01c-11f09172434f
How to generate random numbers with a (negative) sloping distribution?
[{"id": "240565", "score": 1}]
200360
test
9f9d0292-0c4d-4c21-baea-ec4c3702a091
When to open source a project under development?
[{"id": "171066", "score": 1}]
175561
test
87a6300d-0794-400b-9216-61346e4a636a
In which file types I should include the copyright header?
[{"id": "19649", "score": 1}]
224752
test
9b5af90a-b622-46e3-8656-37a4385fba8c
Transitioning To Java
[{"id": "102452", "score": 1}, {"id": "88714", "score": 1}]
114755
test
58d8d072-526e-4ecf-be49-7038f39c4596
Algorithm to calculate scheduling of task list, check feasibility
[{"id": "236668", "score": 1}]
237431
test
6476c4c2-9f36-4dad-a8bc-49ea3335ffd8
Is continuous integration useful for a team of two developers who write a lot of code?
[{"id": "64592", "score": 1}, {"id": "77610", "score": 1}]
144556
test
d3e4bba5-41e8-403a-aa2d-5f680affe681
Are there any downsides of 2 developers getting married?
[{"id": "20262", "score": 1}]
49836
test
5f7247e3-c17b-4d2e-ab18-bf51dc580527
Would you see any use of a Trilean (True, False, ??)
[{"id": "96809", "score": 1}]
32617
test
72b5804d-3c5c-407b-a498-709277c2154b
How to teach Exception Handling for New Programmers?
[{"id": "48895", "score": 1}]
14831
test
f29d7666-7946-412e-addb-811f59d688e2
What's wrong with mutability and can it be desirable?
[{"id": "68058", "score": 1}]
133330
test
15ec588a-3c85-4ee1-b8df-6f882200f7ca
Why would you use MVC over Web Forms?
[{"id": "124831", "score": 1}]
20684
test
e388ee32-7960-495a-999f-530830b3eacc
I still can't figure out how to program?
[{"id": "67295", "score": 1}]
32425
test
0607520d-4e89-457c-9bc2-da7e41c34417
Is renewal of MIT license needed on github at the beginning of each year?
[{"id": "198485", "score": 1}, {"id": "227812", "score": 1}]
210472
test
00efc123-e099-41fd-af2b-a62e60497541
Programming by Intention, Depth-First or Breadth-First?
[{"id": "200936", "score": 1}]
196139
test
b762b7bb-b7d2-49f4-9fee-9dad92849faf
Should I place functions that are only used in one other function, within that function?
[{"id": "252938", "score": 1}]
252532
test
a6365dd6-1bc5-4f4f-99df-41e0151b2236
Is validating HTML a thing of the past?
[{"id": "155943", "score": 1}]
134244
test
d8a39f46-cf2d-45ff-bd33-21350d5f2ebc
What books or resources would you recommend to learn practical OO design and development concepts?
[{"id": "207296", "score": 1}, {"id": "172917", "score": 1}]
114286
test
dfd9763e-ee86-476a-92c9-d64d465c7423
How to open-source a project whose git repository has copyrighted media in the history?
[{"id": "181933", "score": 1}]
43796
test
628070a2-5914-4830-af84-6beae7b81e99
Determining what is a useful unit test
[{"id": "204455", "score": 1}]
90217
test
d387d1ed-92fd-469a-83bd-9951e0957f0d
When to use C over C++, and C++ over C?
[{"id": "126121", "score": 1}]
113295
test
db51de26-bc21-4c14-a8dc-4fb04efa27a7
Characterization in Testing: Unit test or Functional test
[{"id": "176497", "score": 1}]
233981
test
f9dc46a1-07d6-4ce8-87b2-eaea9d09e5ca
Does adding unit tests make sense for well-known legacy code?
[{"id": "232391", "score": 1}]
115910
test
aab6be3d-884a-4155-bf20-564e9052f010
Is there any reason not to go directly from client-side Javascript to a database?
[{"id": "86461", "score": 1}]
180012
test
3a3d54c9-7e44-47c1-b388-1fbc014b14aa
What should be tested in Javascript?
[{"id": "188154", "score": 1}]
119814
test
d017a9d5-b724-4965-86cc-73c1da37bd65
How do you interview someone with more experience than you?
[{"id": "109418", "score": 1}, {"id": "98688", "score": 1}, {"id": "196865", "score": 1}, {"id": "186372", "score": 1}, {"id": "1947", "score": 1}, {"id": "93384", "score": 1}, {"id": "80065", "score": 1}, {"id": "54375", "score": 1}, {"id": "74650", "score": 1}]
18371
test
c95b367b-f2bd-4970-9da4-2641362be2de
Refactorable God v.s. too many classe
[{"id": "178317", "score": 1}, {"id": "186549", "score": 1}]
211610
test
7f52ff2c-ffb0-4c52-a761-cfca83049ed3
Does Salary mean being On-Call 24/7?
[{"id": "14706", "score": 1}]
77731
test
aa6fff12-ed68-4faa-934b-4c38605ffebb
Need for a framework
[{"id": "49488", "score": 1}]
52961
test
6e900a79-702b-47dd-90b0-6bed7a6402d6
Using public final rather than private getters
[{"id": "250540", "score": 1}]
190955
test
d9d35eac-2cfb-42a0-a14b-6724c00b050c
What pricing model has more benefits in mobile app stores: free or paid?
[{"id": "73667", "score": 1}]
59496
test
9462544e-f1f4-426d-88d9-0b39d7019912
What do you do with a heisenbug?
[{"id": "187556", "score": 1}]
14975
test
1e2c24dd-ed95-4712-b21b-6406e812da65
iPhone development - Which model to test?
[{"id": "139377", "score": 1}, {"id": "103318", "score": 1}]
196356
test
55afb8d0-0445-4940-a9c2-80025b815c95
Is commented out code really always bad?
[{"id": "53669", "score": 1}, {"id": "190096", "score": 1}, {"id": "213684", "score": 1}]
45378
test
863e2a73-8c78-490e-ac6e-60b4c9796428
How can I promote software reuse in a large company?
[{"id": "175066", "score": 1}]
23652
test
32776ef1-b706-4283-ad8d-160c786b209e
For web apps (vs web pages) why not put scripts and css inline?
[{"id": "222403", "score": 1}]
240734
test
e629a483-f124-4775-89a7-a53727252a89
Choosing a functional programming language
[{"id": "114885", "score": 1}]
24542
test
4a6cf861-c165-4d66-b205-e80c5c413e44
How to get good design when using agile methods?
[{"id": "204335", "score": 1}]
156771
test
63f4c172-12cb-4086-8123-ac27bd8f40b6
What is the reason most people have predetermined fear of programming & how should skilled make them fearless?
[{"id": "41999", "score": 1}]
79624
test
02d9e15a-ec1c-412b-8c31-f39ae7e2e32a
Do you work contract projects in addition to your full-time job?
[{"id": "132395", "score": 1}]
10495
test
268e59e2-0e9e-4786-982b-9d78c6182f74
How to avoid programmers duplicating code
[{"id": "180777", "score": 1}, {"id": "34354", "score": 1}]
234449
test
27cc5adb-f00e-4f23-a191-52c486885209
A toolset for self improvement and learning
[{"id": "151229", "score": 1}]
176102
test
609c11f9-ca2c-4eef-b19f-1704925c0d28
Readable regular expressions without losing their power?
[{"id": "75905", "score": 1}]
194975
test
a6eb70ab-9811-43ba-badc-3730fadc3582
Should I learn design patterns or algorithms to improve my logical thinking skills?
[{"id": "35594", "score": 1}, {"id": "210913", "score": 1}, {"id": "94643", "score": 1}]
111802
test
e15c6e9f-ab98-465f-bdf9-07e77eec3101
How do you balance documentation requirements with Agile developments
[{"id": "162786", "score": 1}]
55267
test
0b352ef8-9760-45e3-b53f-4cfc051c1eff
Advice for solo programmer whose team will expand in the near future
[{"id": "230462", "score": 1}]
15829
test
722120af-c92d-4b4c-a344-ab08c4706bea
Does software rot refer primarily to performance, or to messy code?
[{"id": "255866", "score": 1}]
168685
test
387d6ff0-322f-41c9-8dd1-a9016e83ad22
Is machine language always binary?
[{"id": "132691", "score": 1}]
236415
test
d33dbc51-9396-4e90-a3cb-dbcbc8a18482
Should each app have its own database, or should small apps be merged into one?
[{"id": "105786", "score": 1}]
153631
test
1b80f501-ea08-4ef0-a934-6df3cc16c614
Why do we study Java at university?
[{"id": "108601", "score": 1}]
21256
test
61dec120-ff55-464c-8ca4-83cd39530173
Does "Inversion of Control" promote "Anemic Domain Model"?
[{"id": "184202", "score": 1}]
72768
test
0790e0ee-83d0-48c3-888c-fd271efc5622
Are there code reviews in opensource projects? If so, what tools are used to do this?
[{"id": "12087", "score": 1}]
142292
test
363a0991-df19-4d13-b667-995adf61e066
Painfully Stupid Method Names in Legacy Code: Fix or Leave as Warning?
[{"id": "51997", "score": 1}]
204206
test
8f162235-ac96-4eb9-a8a8-acc1187e7c06
Do Scrum sprints mean to work at the fastest pace possible?
[{"id": "238250", "score": 1}]
223250
test
9ebbd9b9-5263-4e89-a06a-4453416e84dd
What are some well known applications written in F#?
[{"id": "22073", "score": 1}]
19842
test
bdc6b45c-a423-4017-9fa1-55558a649d96
Why do we still use a programming language instead of using just SQL?
[{"id": "171024", "score": 1}]
195416
test
42e609cd-405d-42af-9fba-24cef08838a1
How do you handle a graphic designer who thinks he's a web designer?
[{"id": "129069", "score": 1}]
97269
test
0f498aaa-0f90-40a7-8b32-03b087a3e8e6
Why choose an established CMS as opposed to building one from scratch?
[{"id": "198714", "score": 1}]
140004
test
2142bfcc-7d1d-48c1-ba43-d1461b2000c4
Is it bad to use Unicode characters in variable names?
[{"id": "231208", "score": 1}]
16010
test
7ea8c87a-3902-40d3-b56e-65846e0a8e32
How to define different names for the same type and have the compiler check them?
[{"id": "243154", "score": 1}]
245274
test
bd6a7595-d373-464e-9241-f7c1a2c3ddae
Is programming in layers real?
[{"id": "198783", "score": 1}, {"id": "255687", "score": 1}]
214734
test
142be109-0060-4520-bdfa-13a8a369cddd
Using frameworks or writing code without any framework ? Which is better for 3 months aged PHP programmer?
[{"id": "21697", "score": 1}, {"id": "121073", "score": 1}]
124817
test
44b391a0-daf8-4444-87af-a94fe040e709
Why isn't the line count in Visual Studio zero-based?
[{"id": "109436", "score": 1}]
102008
test
0f009678-7e35-44e4-a50a-119691321453
Standards for mixing languages within one application?
[{"id": "120315", "score": 1}]
144829
test
c213ae3a-2173-417d-91f2-fc5dd210a57a
How to shorten the case statement from hades?
[{"id": "147214", "score": 1}, {"id": "187009", "score": 1}]
227720
test
9169e8c3-5de0-4f60-9ad5-2de03e4d000b
Why are algorithms and data structures important?
[{"id": "163240", "score": 1}]
212575
test
07c83d94-8343-4911-bf3e-2ea8c9a9b77a
How to start project?
[{"id": "69215", "score": 1}, {"id": "199085", "score": 1}, {"id": "23604", "score": 1}, {"id": "128911", "score": 1}, {"id": "115282", "score": 1}, {"id": "39499", "score": 1}, {"id": "106284", "score": 1}]
19558
test
6098f728-a051-40bb-b014-c5ccc510b17b
How much database access should developers have?
[{"id": "246618", "score": 1}, {"id": "207987", "score": 1}, {"id": "251418", "score": 1}]
61798
test
261a3c33-df6d-45db-83cd-c216fde808b8
Why do most of us use 'i' as a loop counter variable?
[{"id": "102353", "score": 1}, {"id": "127934", "score": 1}]
86904
test
c3452f25-5595-4468-9851-b54aee5b6aa8
What does the suffix after software engineer/developer job titles mean? (e.g. Software Developer III)
[{"id": "96238", "score": 1}, {"id": "117179", "score": 1}, {"id": "39353", "score": 1}]
38265
test
869da908-2bc8-4bc9-85ad-b489ccbaa45b
How can I get the benefit of working with a co-worker if I have no co-workers?
[{"id": "194922", "score": 1}]
118140
test
b9151f74-1277-4af6-825c-78154c3667c5
Programming at Home vs Programming at Workplace
[{"id": "4325", "score": 1}]
97357
test
bb580aa4-305f-494c-9ffb-25d1e8d9e729
Matching the superclass's constructor's parameter list, is treating a null default value as a non-null value within a constructor a violation of LSP?
[{"id": "178886", "score": 1}]
244866
test
4eee5038-bbac-418f-8e9e-75a6ca4407f7
Should code reviewers test as part of the review?
[{"id": "92385", "score": 1}]
95363
test
cf89962a-8309-48ea-b341-47fbe0867675
If I fork an open source project and make improvements in the fork, will it or I offend the original authors?
[{"id": "188712", "score": 1}, {"id": "232321", "score": 1}]
222362
test
7c3176cd-14fa-4793-ab85-ae087b6b7af9
Double equals (Not equality) during assigning Java
[{"id": "165532", "score": 1}]
215727
test
70f2af41-9179-4568-8e7c-4cd3b59d5181
Power of HTML5?
[{"id": "127215", "score": 1}]
195656
test
c8c90728-9cd2-4437-b7e6-8aee0d9bf5e1
Why do modern websites still insist on archaic username/password requirements?
[{"id": "126924", "score": 1}]
219198
test
4116ece1-3629-47b5-9c4a-34382438e537
Difference between Dependency Injection (DI) & Inversion of Control (IOC)
[{"id": "131324", "score": 1}]
131451
test
c967fab4-882e-4b5f-9eab-617ecb683061
Best practices for introducing testing to a large, stable, legacy Java application?
[{"id": "40439", "score": 1}, {"id": "166530", "score": 1}, {"id": "149782", "score": 1}]
233342
test
28f77173-e51d-408a-832f-fdc1078eeb14
When should I use mock objects?
[{"id": "253165", "score": 1}]
39378
test
83a85be0-4acd-449b-b065-fd586a847d68
Save match details to SQLite or XML?
[{"id": "101893", "score": 1}]
152678
test