UiPath and Kebab Case

Question: Which of the following variables is named using kebab-case?

  •   WhatIsKebabCase
  •   what-is-kebab-case
  •   whatIsKebabCase
  •   what_is_kebab_case

Answer

The variable what-is-kebab-case is a correct example of the naming convention in question.

UiPath and Kebab Case

I love kebab case for URLs and even JavaScript variables, although dashes in variables can often cause problems with batch scripts and cron jobs, so be careful when you use them.

However, UiPath and kebab case is not a match made in heaven. If you name UiPath variables with kebab case you’ll get an error when you use the UiPath Analyze File option.

Please subscribe to Cameron's YouTube channel