Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [
- {
- "label": "How many years of experience do you have in JavaScript?",
- "answers": {
- "0": {
- "label": "less than a year.",
- "votes": 63,
- "percentage": 5
- },
- "1": {
- "label": "1-2 years.",
- "votes": 178,
- "percentage": 13
- },
- "2": {
- "label": "2-3 years.",
- "votes": 173,
- "percentage": 13
- },
- "3": {
- "label": "3+ years.",
- "votes": 920,
- "percentage": 69
- }
- },
- "type": "r"
- },
- {
- "label": "How do you use JavaScript?",
- "answers": {
- "0": {
- "label": "Client Side",
- "votes": 1225
- },
- "1": {
- "label": "Server Side / CLI",
- "votes": 713
- },
- "2": {
- "label": "Mobile Apps",
- "votes": 296
- },
- "3": {
- "label": "Desktop apps",
- "votes": 248
- },
- "4": {
- "label": "Other",
- "votes": 77
- }
- },
- "type": "c"
- },
- {
- "label": "Do you know what \"code smell\" is?",
- "answers": {
- "0": {
- "label": "Never heard of it!",
- "votes": 264,
- "percentage": 20
- },
- "1": {
- "label": "It rings a bell ...",
- "votes": 230,
- "percentage": 17
- },
- "2": {
- "label": "Yes! I know!",
- "votes": 840,
- "percentage": 63
- }
- },
- "type": "r"
- },
- {
- "label": "Is it important to you to limit the length of a line in source code?",
- "answers": {
- "0": {
- "label": "No! Never!",
- "votes": 39,
- "percentage": 3
- },
- "1": {
- "label": "I don't think so!",
- "votes": 63,
- "percentage": 5
- },
- "2": {
- "label": "No strong feelings!",
- "votes": 192,
- "percentage": 14
- },
- "3": {
- "label": "Kind of!",
- "votes": 527,
- "percentage": 40
- },
- "4": {
- "label": "Yes! Absolutely!",
- "votes": 513,
- "percentage": 38
- }
- },
- "type": "r"
- },
- {
- "label": "Do you consider high number of chained methods increases the complexity of the code?",
- "answers": {
- "0": {
- "label": "No! Never!",
- "votes": 87,
- "percentage": 7
- },
- "1": {
- "label": "I don't think so!",
- "votes": 335,
- "percentage": 25
- },
- "2": {
- "label": "No strong feelings!",
- "votes": 229,
- "percentage": 17
- },
- "3": {
- "label": "Kind of!",
- "votes": 377,
- "percentage": 28
- },
- "4": {
- "label": "Yes! Absolutely!",
- "votes": 306,
- "percentage": 23
- }
- },
- "type": "r"
- },
- {
- "label": "Which implementation of this function do you prefer?",
- "answers": {
- "0": {
- "label": "more parameters",
- "votes": 284,
- "percentage": 21
- },
- "1": {
- "label": "few parameters",
- "votes": 1050,
- "percentage": 79
- }
- },
- "type": "d"
- },
- {
- "label": "Do you consider a function with higher number of parameters is more complex?",
- "answers": {
- "0": {
- "label": "No! Never!",
- "votes": 34,
- "percentage": 3
- },
- "1": {
- "label": "I don't think so!",
- "votes": 113,
- "percentage": 8
- },
- "2": {
- "label": "No strong feelings!",
- "votes": 186,
- "percentage": 14
- },
- "3": {
- "label": "Kind of!",
- "votes": 500,
- "percentage": 37
- },
- "4": {
- "label": "Yes! Absolutely!",
- "votes": 501,
- "percentage": 38
- }
- },
- "type": "r"
- },
- {
- "label": "What do you use the most when working with asynchronous codes?",
- "answers": {
- "0": {
- "label": "Callbacks",
- "votes": 268,
- "percentage": 20
- },
- "1": {
- "label": ".then()",
- "votes": 878,
- "percentage": 66
- },
- "2": {
- "label": "ES6 function*/yield",
- "votes": 52,
- "percentage": 4
- },
- "3": {
- "label": "ES7 async/await",
- "votes": 115,
- "percentage": 9
- },
- "4": {
- "label": "What is asynchronous code?",
- "votes": 21,
- "percentage": 2
- }
- },
- "type": "r"
- },
- {
- "label": "Do you consider the higher number of nested callbacks makes the code harder to maintain?",
- "answers": {
- "0": {
- "label": "No! Never!",
- "votes": 8,
- "percentage": 1
- },
- "1": {
- "label": "I don't think so!",
- "votes": 41,
- "percentage": 3
- },
- "2": {
- "label": "No strong feelings!",
- "votes": 56,
- "percentage": 4
- },
- "3": {
- "label": "Kind of!",
- "votes": 288,
- "percentage": 22
- },
- "4": {
- "label": "Yes! Absolutely!",
- "votes": 941,
- "percentage": 71
- }
- },
- "type": "r"
- },
- {
- "label": "Which implementation of the this parse function do you prefer?",
- "answers": {
- "0": {
- "label": "re-using variables",
- "votes": 193,
- "percentage": 14
- },
- "1": {
- "label": "not re-using variables, using const",
- "votes": 1141,
- "percentage": 86
- }
- },
- "type": "d"
- },
- {
- "label": "Do you consider re-using variables makes the code harder to maintain?",
- "answers": {
- "0": {
- "label": "No! Never!",
- "votes": 41,
- "percentage": 3
- },
- "1": {
- "label": "I don't think so!",
- "votes": 126,
- "percentage": 9
- },
- "2": {
- "label": "No strong feelings!",
- "votes": 203,
- "percentage": 15
- },
- "3": {
- "label": "Kind of!",
- "votes": 398,
- "percentage": 30
- },
- "4": {
- "label": "Yes! Absolutely!",
- "votes": 566,
- "percentage": 42
- }
- },
- "type": "r"
- },
- {
- "label": "Which implementation of using regex do you prefer?",
- "answers": {
- "0": {
- "label": "assignments in condition",
- "votes": 985,
- "percentage": 74
- },
- "1": {
- "label": "no assignments in condition",
- "votes": 349,
- "percentage": 26
- }
- },
- "type": "d"
- },
- {
- "label": "Do you consider assignment in condition makes the code harder to understand?",
- "answers": {
- "0": {
- "label": "No! Never!",
- "votes": 53,
- "percentage": 4
- },
- "1": {
- "label": "I don't think so!",
- "votes": 266,
- "percentage": 20
- },
- "2": {
- "label": "No strong feelings!",
- "votes": 306,
- "percentage": 23
- },
- "3": {
- "label": "Kind of!",
- "votes": 351,
- "percentage": 26
- },
- "4": {
- "label": "Yes! Absolutely!",
- "votes": 358,
- "percentage": 27
- }
- },
- "type": "r"
- },
- {
- "label": "Which implementation do you prefer?",
- "answers": {
- "0": {
- "label": "self=this",
- "votes": 593,
- "percentage": 44
- },
- "1": {
- "label": ".bind",
- "votes": 741,
- "percentage": 56
- }
- },
- "type": "d"
- },
- {
- "label": "What do use the most when dealing with this in callbacks?",
- "answers": {
- "0": {
- "label": "var self=this;",
- "votes": 346,
- "percentage": 26
- },
- "1": {
- "label": ".bind(this);",
- "votes": 223,
- "percentage": 17
- },
- "2": {
- "label": "ES6's =>",
- "votes": 719,
- "percentage": 54
- },
- "3": {
- "label": "What are these?!",
- "votes": 46,
- "percentage": 3
- }
- },
- "type": "r"
- },
- {
- "label": "Do you consider switch/case statements are harder to understand compared to if/else?",
- "answers": {
- "0": {
- "label": "No! Never!",
- "votes": 299,
- "percentage": 22
- },
- "1": {
- "label": "I don't think so!",
- "votes": 518,
- "percentage": 39
- },
- "2": {
- "label": "No strong feelings!",
- "votes": 325,
- "percentage": 24
- },
- "3": {
- "label": "Kind of!",
- "votes": 135,
- "percentage": 10
- },
- "4": {
- "label": "Yes! Absolutely!",
- "votes": 57,
- "percentage": 4
- }
- },
- "type": "r"
- },
- {
- "label": "Which implementation do you think is easier to understand?",
- "answers": {
- "0": {
- "label": "more indent",
- "votes": 1196,
- "percentage": 90
- },
- "1": {
- "label": "less indent",
- "votes": 138,
- "percentage": 10
- }
- },
- "type": "d"
- },
- {
- "label": "On scale of [1] to [10], please indicate which phenomena makes the understanding/debugging/maintaining of JS code harder:",
- "answers": {
- "0": {
- "label": "Increasing length of a line",
- "votes": 7361,
- "avg": 5.6710323574730355,
- "med": 6
- },
- "1": {
- "label": "Increasing chaining level",
- "votes": 7302,
- "avg": 5.608294930875576,
- "med": 6
- },
- "2": {
- "label": "Increasing the number of function arguments",
- "votes": 8276,
- "avg": 6.322383498854087,
- "med": 7
- },
- "3": {
- "label": "Increasing the number of nested callbacks",
- "votes": 10696,
- "avg": 8.202453987730062,
- "med": 9
- },
- "4": {
- "label": "Re-using variables",
- "votes": 8478,
- "avg": 6.521538461538461,
- "med": 7
- },
- "5": {
- "label": "Using assignmnts in conditional statements",
- "votes": 7251,
- "avg": 5.65600624024961,
- "med": 6
- },
- "6": {
- "label": "Using .bind(this) in functions that do not use this",
- "votes": 6945,
- "avg": 5.687960687960688,
- "med": 6
- },
- "7": {
- "label": "Assinging this to other variables like self",
- "votes": 5527,
- "avg": 4.362273086029992,
- "med": 4
- },
- "8": {
- "label": "Increasing the number of statement in a function",
- "votes": 7247,
- "avg": 5.66171875,
- "med": 6
- },
- "9": {
- "label": "Increasing the number of cases in switch statements",
- "votes": 5697,
- "avg": 4.375576036866359,
- "med": 4
- },
- "10": {
- "label": "Increasing the level of indentation",
- "votes": 6233,
- "avg": 4.877151799687011,
- "med": 5
- }
- },
- "type": "g"
- }
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement