I have been using chatgpt to turn my intention into typescript code so I can learn typescript faster. For instance I asked function verses arrow function when should one use one or the other? Answer: preference.