From a4e0fca40d83ad39744ba81d650aec132d927194 Mon Sep 17 00:00:00 2001 From: stephen-hero <78870893+stephen-hero@users.noreply.github.com> Date: Mon, 22 Jan 2024 15:16:22 +0200 Subject: [PATCH] Update task.md language checked --- .../ExtractMagicConstantsPractice/task.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ExtractingCode/WhatIsExtractVariableRefactoring/ExtractMagicConstantsPractice/task.md b/ExtractingCode/WhatIsExtractVariableRefactoring/ExtractMagicConstantsPractice/task.md index 1c0ac0f..602daca 100644 --- a/ExtractingCode/WhatIsExtractVariableRefactoring/ExtractMagicConstantsPractice/task.md +++ b/ExtractingCode/WhatIsExtractVariableRefactoring/ExtractMagicConstantsPractice/task.md @@ -10,34 +10,34 @@ the light. The greater the frequency, the higher the energy of the photon. To calculate the **mass of a photon**, take the energy of the photon and divide it by the speed of light squared. However, in practice, photons are considered to have zero mass. -In this task, you need to identify magic numbers in the code and create constant values for them. +In this task, you need to identify the magic numbers in the code and create constant values for them. ### Hints
-&shortcut:IntroduceConstant; (macOS) or Ctrl+Alt+C (Windows/Linux) – shortcut to introduce a constant. +&shortcut:IntroduceConstant; (macOS) or Ctrl+Alt+C (Windows/Linux) – shortcuts to introduce a constant.
-&shortcut:IntroduceVariable; (macOS) or Ctrl+Alt+V (Windows/Linux) – shortcut to introduce a variable. +&shortcut:IntroduceVariable; (macOS) or Ctrl+Alt+V (Windows/Linux) – shortcuts to introduce a variable.
_The speed of light_ is the ultimate speed limit in the universe, and it's a constant, never changing. -It's so fast that light can zip around the Earth over 7 times in just one second! And nothing can go faster than that. +It's so fast that light can zip around the Earth over 7 times in just one second! And nothing can exceeed this speed.
-_The Planck constant_ is a tiny constant that sets the scale for how energy and frequency are related in quantum +_The Planck constant_ is a tiny constant that sets the scale for how energy and frequency interrelate in quantum mechanics.
-_Wave length_ is like measuring how long one wave is, from the top of one wave to the top of the next wave. -It's not always the same size and can change depending on the type of wave or how it's made. +_Wave length_ measures the length of one wave, from the top of one wave to the top of the next wave. +Its size can vary depending on the wave type or how it's generated.