DEV Community

loading...

Discussion on: Is coding a lenguage like english or portuguese?

Collapse
offirmo profile image
Offirmo

Hi Jana, I would rather compare a programming language to a recipe:

  • add 700g of flour
  • add 2 eggs
  • mix until smooth
  • etc.

Since this recipe will be read by a robot, it must be "flawless". For example, if you make a typo "700g of flor" the robot won't get it and stop.

Similarly, if you make an obvious mistake like "700 kg of flour", the robot won't catch it and attempt to do it anyway.

Collapse
jana profile image
Jana Author

You won my heart with this!
And i was thinking about it when I was translating some recipes and i thought how precise you need to be in both ;) thanks

Collapse
offirmo profile image
Offirmo

Glad it helped! Programming is really great!