karma-riuk / camel-kebab

USi BA5 22/23 - Experimentation & Evalution - Site for the second experiment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

camelCase vs. kebab-case

Intro

Experiment

Studies performed in natural language reading show that people read better (i.e., 20% faster) when an explicit separator is used between words. It does not matter the type of separator, it could be a white space or a special symbol. The overall message is that readingthistext is more difficult than reading_this_text or reading this text.

Here comes our question: Is this finding valid for source code as well? In other words, can we speedup code reading using a specific separator when writing composed identifiers (i.e., identifiers featuring more than one word)?

This repo

This repository contains the code to run the site on which takes place the experiment.

Launch the site

Clone the repo

To start the webapp, clone the repo with

git clone https://github.com/karma-riuk/camel-kebab.git

or

git clone git@github.com:karma-riuk/camel-kebab.git

Install the dependencies

yarn install

Start the webapp

yarn dev

Now open your browser and go to http://localhost:5173 (or whatever port indicated by vite after running yarn dev in a terminal) and make the user follow the instructions.

About

USi BA5 22/23 - Experimentation & Evalution - Site for the second experiment


Languages

Language:TeX 49.0%Language:JavaScript 42.8%Language:CSS 7.2%Language:HTML 1.1%