Advertisement
Guest User

srvy.online result

a guest
Oct 11th, 2016
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 14.10 KB | None | 0 0
  1. [
  2.     {
  3.         "label": "How many years of experience do you have in JavaScript?",
  4.         "answers": {
  5.             "0": {
  6.                 "label": "less than a year.",
  7.                 "votes": 63,
  8.                 "percentage": 5
  9.             },
  10.             "1": {
  11.                 "label": "1-2 years.",
  12.                 "votes": 178,
  13.                 "percentage": 13
  14.             },
  15.             "2": {
  16.                 "label": "2-3 years.",
  17.                 "votes": 173,
  18.                 "percentage": 13
  19.             },
  20.             "3": {
  21.                 "label": "3+ years.",
  22.                 "votes": 920,
  23.                 "percentage": 69
  24.             }
  25.         },
  26.         "type": "r"
  27.     },
  28.     {
  29.         "label": "How do you use JavaScript?",
  30.         "answers": {
  31.             "0": {
  32.                 "label": "Client Side",
  33.                 "votes": 1225
  34.             },
  35.             "1": {
  36.                 "label": "Server Side / CLI",
  37.                 "votes": 713
  38.             },
  39.             "2": {
  40.                 "label": "Mobile Apps",
  41.                 "votes": 296
  42.             },
  43.             "3": {
  44.                 "label": "Desktop apps",
  45.                 "votes": 248
  46.             },
  47.             "4": {
  48.                 "label": "Other",
  49.                 "votes": 77
  50.             }
  51.         },
  52.         "type": "c"
  53.     },
  54.     {
  55.         "label": "Do you know what \"code smell\" is?",
  56.         "answers": {
  57.             "0": {
  58.                 "label": "Never heard of it!",
  59.                 "votes": 264,
  60.                 "percentage": 20
  61.             },
  62.             "1": {
  63.                 "label": "It rings a bell ...",
  64.                 "votes": 230,
  65.                 "percentage": 17
  66.             },
  67.             "2": {
  68.                 "label": "Yes! I know!",
  69.                 "votes": 840,
  70.                 "percentage": 63
  71.             }
  72.         },
  73.         "type": "r"
  74.     },
  75.     {
  76.         "label": "Is it important to you to limit the length of a line in source code?",
  77.         "answers": {
  78.             "0": {
  79.                 "label": "No! Never!",
  80.                 "votes": 39,
  81.                 "percentage": 3
  82.             },
  83.             "1": {
  84.                 "label": "I don't think so!",
  85.                 "votes": 63,
  86.                 "percentage": 5
  87.             },
  88.             "2": {
  89.                 "label": "No strong feelings!",
  90.                 "votes": 192,
  91.                 "percentage": 14
  92.             },
  93.             "3": {
  94.                 "label": "Kind of!",
  95.                 "votes": 527,
  96.                 "percentage": 40
  97.             },
  98.             "4": {
  99.                 "label": "Yes! Absolutely!",
  100.                 "votes": 513,
  101.                 "percentage": 38
  102.             }
  103.         },
  104.         "type": "r"
  105.     },
  106.     {
  107.         "label": "Do you consider high number of chained methods increases the complexity of the code?",
  108.         "answers": {
  109.             "0": {
  110.                 "label": "No! Never!",
  111.                 "votes": 87,
  112.                 "percentage": 7
  113.             },
  114.             "1": {
  115.                 "label": "I don't think so!",
  116.                 "votes": 335,
  117.                 "percentage": 25
  118.             },
  119.             "2": {
  120.                 "label": "No strong feelings!",
  121.                 "votes": 229,
  122.                 "percentage": 17
  123.             },
  124.             "3": {
  125.                 "label": "Kind of!",
  126.                 "votes": 377,
  127.                 "percentage": 28
  128.             },
  129.             "4": {
  130.                 "label": "Yes! Absolutely!",
  131.                 "votes": 306,
  132.                 "percentage": 23
  133.             }
  134.         },
  135.         "type": "r"
  136.     },
  137.     {
  138.         "label": "Which implementation of this function do you prefer?",
  139.         "answers": {
  140.             "0": {
  141.                 "label": "more parameters",
  142.                 "votes": 284,
  143.                 "percentage": 21
  144.             },
  145.             "1": {
  146.                 "label": "few parameters",
  147.                 "votes": 1050,
  148.                 "percentage": 79
  149.             }
  150.         },
  151.         "type": "d"
  152.     },
  153.     {
  154.         "label": "Do you consider a function with higher number of parameters is more complex?",
  155.         "answers": {
  156.             "0": {
  157.                 "label": "No! Never!",
  158.                 "votes": 34,
  159.                 "percentage": 3
  160.             },
  161.             "1": {
  162.                 "label": "I don't think so!",
  163.                 "votes": 113,
  164.                 "percentage": 8
  165.             },
  166.             "2": {
  167.                 "label": "No strong feelings!",
  168.                 "votes": 186,
  169.                 "percentage": 14
  170.             },
  171.             "3": {
  172.                 "label": "Kind of!",
  173.                 "votes": 500,
  174.                 "percentage": 37
  175.             },
  176.             "4": {
  177.                 "label": "Yes! Absolutely!",
  178.                 "votes": 501,
  179.                 "percentage": 38
  180.             }
  181.         },
  182.         "type": "r"
  183.     },
  184.     {
  185.         "label": "What do you use the most when working with asynchronous codes?",
  186.         "answers": {
  187.             "0": {
  188.                 "label": "Callbacks",
  189.                 "votes": 268,
  190.                 "percentage": 20
  191.             },
  192.             "1": {
  193.                 "label": ".then()",
  194.                 "votes": 878,
  195.                 "percentage": 66
  196.             },
  197.             "2": {
  198.                 "label": "ES6 function*/yield",
  199.                 "votes": 52,
  200.                 "percentage": 4
  201.             },
  202.             "3": {
  203.                 "label": "ES7 async/await",
  204.                 "votes": 115,
  205.                 "percentage": 9
  206.             },
  207.             "4": {
  208.                 "label": "What is asynchronous code?",
  209.                 "votes": 21,
  210.                 "percentage": 2
  211.             }
  212.         },
  213.         "type": "r"
  214.     },
  215.     {
  216.         "label": "Do you consider the higher number of nested callbacks makes the code harder to maintain?",
  217.         "answers": {
  218.             "0": {
  219.                 "label": "No! Never!",
  220.                 "votes": 8,
  221.                 "percentage": 1
  222.             },
  223.             "1": {
  224.                 "label": "I don't think so!",
  225.                 "votes": 41,
  226.                 "percentage": 3
  227.             },
  228.             "2": {
  229.                 "label": "No strong feelings!",
  230.                 "votes": 56,
  231.                 "percentage": 4
  232.             },
  233.             "3": {
  234.                 "label": "Kind of!",
  235.                 "votes": 288,
  236.                 "percentage": 22
  237.             },
  238.             "4": {
  239.                 "label": "Yes! Absolutely!",
  240.                 "votes": 941,
  241.                 "percentage": 71
  242.             }
  243.         },
  244.         "type": "r"
  245.     },
  246.     {
  247.         "label": "Which implementation of the this parse function do you prefer?",
  248.         "answers": {
  249.             "0": {
  250.                 "label": "re-using variables",
  251.                 "votes": 193,
  252.                 "percentage": 14
  253.             },
  254.             "1": {
  255.                 "label": "not re-using variables, using const",
  256.                 "votes": 1141,
  257.                 "percentage": 86
  258.             }
  259.         },
  260.         "type": "d"
  261.     },
  262.     {
  263.         "label": "Do you consider re-using variables makes the code harder to maintain?",
  264.         "answers": {
  265.             "0": {
  266.                 "label": "No! Never!",
  267.                 "votes": 41,
  268.                 "percentage": 3
  269.             },
  270.             "1": {
  271.                 "label": "I don't think so!",
  272.                 "votes": 126,
  273.                 "percentage": 9
  274.             },
  275.             "2": {
  276.                 "label": "No strong feelings!",
  277.                 "votes": 203,
  278.                 "percentage": 15
  279.             },
  280.             "3": {
  281.                 "label": "Kind of!",
  282.                 "votes": 398,
  283.                 "percentage": 30
  284.             },
  285.             "4": {
  286.                 "label": "Yes! Absolutely!",
  287.                 "votes": 566,
  288.                 "percentage": 42
  289.             }
  290.         },
  291.         "type": "r"
  292.     },
  293.     {
  294.         "label": "Which implementation of using regex do you prefer?",
  295.         "answers": {
  296.             "0": {
  297.                 "label": "assignments in condition",
  298.                 "votes": 985,
  299.                 "percentage": 74
  300.             },
  301.             "1": {
  302.                 "label": "no assignments in condition",
  303.                 "votes": 349,
  304.                 "percentage": 26
  305.             }
  306.         },
  307.         "type": "d"
  308.     },
  309.     {
  310.         "label": "Do you consider assignment in condition makes the code harder to understand?",
  311.         "answers": {
  312.             "0": {
  313.                 "label": "No! Never!",
  314.                 "votes": 53,
  315.                 "percentage": 4
  316.             },
  317.             "1": {
  318.                 "label": "I don't think so!",
  319.                 "votes": 266,
  320.                 "percentage": 20
  321.             },
  322.             "2": {
  323.                 "label": "No strong feelings!",
  324.                 "votes": 306,
  325.                 "percentage": 23
  326.             },
  327.             "3": {
  328.                 "label": "Kind of!",
  329.                 "votes": 351,
  330.                 "percentage": 26
  331.             },
  332.             "4": {
  333.                 "label": "Yes! Absolutely!",
  334.                 "votes": 358,
  335.                 "percentage": 27
  336.             }
  337.         },
  338.         "type": "r"
  339.     },
  340.     {
  341.         "label": "Which implementation do you prefer?",
  342.         "answers": {
  343.             "0": {
  344.                 "label": "self=this",
  345.                 "votes": 593,
  346.                 "percentage": 44
  347.             },
  348.             "1": {
  349.                 "label": ".bind",
  350.                 "votes": 741,
  351.                 "percentage": 56
  352.             }
  353.         },
  354.         "type": "d"
  355.     },
  356.     {
  357.         "label": "What do use the most when dealing with this in callbacks?",
  358.         "answers": {
  359.             "0": {
  360.                 "label": "var self=this;",
  361.                 "votes": 346,
  362.                 "percentage": 26
  363.             },
  364.             "1": {
  365.                 "label": ".bind(this);",
  366.                 "votes": 223,
  367.                 "percentage": 17
  368.             },
  369.             "2": {
  370.                 "label": "ES6's =>",
  371.                 "votes": 719,
  372.                 "percentage": 54
  373.             },
  374.             "3": {
  375.                 "label": "What are these?!",
  376.                 "votes": 46,
  377.                 "percentage": 3
  378.             }
  379.         },
  380.         "type": "r"
  381.     },
  382.     {
  383.         "label": "Do you consider switch/case statements are harder to understand compared to if/else?",
  384.         "answers": {
  385.             "0": {
  386.                 "label": "No! Never!",
  387.                 "votes": 299,
  388.                 "percentage": 22
  389.             },
  390.             "1": {
  391.                 "label": "I don't think so!",
  392.                 "votes": 518,
  393.                 "percentage": 39
  394.             },
  395.             "2": {
  396.                 "label": "No strong feelings!",
  397.                 "votes": 325,
  398.                 "percentage": 24
  399.             },
  400.             "3": {
  401.                 "label": "Kind of!",
  402.                 "votes": 135,
  403.                 "percentage": 10
  404.             },
  405.             "4": {
  406.                 "label": "Yes! Absolutely!",
  407.                 "votes": 57,
  408.                 "percentage": 4
  409.             }
  410.         },
  411.         "type": "r"
  412.     },
  413.     {
  414.         "label": "Which implementation do you think is easier to understand?",
  415.         "answers": {
  416.             "0": {
  417.                 "label": "more indent",
  418.                 "votes": 1196,
  419.                 "percentage": 90
  420.             },
  421.             "1": {
  422.                 "label": "less indent",
  423.                 "votes": 138,
  424.                 "percentage": 10
  425.             }
  426.         },
  427.         "type": "d"
  428.     },
  429.     {
  430.         "label": "On scale of [1] to [10], please indicate which phenomena makes the understanding/debugging/maintaining of JS code harder:",
  431.         "answers": {
  432.             "0": {
  433.                 "label": "Increasing length of a line",
  434.                 "votes": 7361,
  435.                 "avg": 5.6710323574730355,
  436.                 "med": 6
  437.             },
  438.             "1": {
  439.                 "label": "Increasing chaining level",
  440.                 "votes": 7302,
  441.                 "avg": 5.608294930875576,
  442.                 "med": 6
  443.             },
  444.             "2": {
  445.                 "label": "Increasing the number of function arguments",
  446.                 "votes": 8276,
  447.                 "avg": 6.322383498854087,
  448.                 "med": 7
  449.             },
  450.             "3": {
  451.                 "label": "Increasing the number of nested callbacks",
  452.                 "votes": 10696,
  453.                 "avg": 8.202453987730062,
  454.                 "med": 9
  455.             },
  456.             "4": {
  457.                 "label": "Re-using variables",
  458.                 "votes": 8478,
  459.                 "avg": 6.521538461538461,
  460.                 "med": 7
  461.             },
  462.             "5": {
  463.                 "label": "Using assignmnts in conditional statements",
  464.                 "votes": 7251,
  465.                 "avg": 5.65600624024961,
  466.                 "med": 6
  467.             },
  468.             "6": {
  469.                 "label": "Using .bind(this) in functions that do not use this",
  470.                 "votes": 6945,
  471.                 "avg": 5.687960687960688,
  472.                 "med": 6
  473.             },
  474.             "7": {
  475.                 "label": "Assinging this to other variables like self",
  476.                 "votes": 5527,
  477.                 "avg": 4.362273086029992,
  478.                 "med": 4
  479.             },
  480.             "8": {
  481.                 "label": "Increasing the number of statement in a function",
  482.                 "votes": 7247,
  483.                 "avg": 5.66171875,
  484.                 "med": 6
  485.             },
  486.             "9": {
  487.                 "label": "Increasing the number of cases in switch statements",
  488.                 "votes": 5697,
  489.                 "avg": 4.375576036866359,
  490.                 "med": 4
  491.             },
  492.             "10": {
  493.                 "label": "Increasing the level of indentation",
  494.                 "votes": 6233,
  495.                 "avg": 4.877151799687011,
  496.                 "med": 5
  497.             }
  498.         },
  499.         "type": "g"
  500.     }
  501. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement