Saltar al contenido
Portada » Udemy Gratis: Coders: How to write complex “if” conditions by using logic – Udemy Free

Udemy Gratis: Coders: How to write complex “if” conditions by using logic – Udemy Free

Learn the foundations of propositional logic and how you can apply them to write cleaner code

Coders: How to write complex “if” conditions by using logic

Idioma

English

Descripción

If you’re a self-taught software developer, you may have skipped all the mathematical mumbo jumbo and learned coding straight away. However, there are some mathematical tools, often taught in computer science courses, which can help you write nicer, cleaner code. One of them is propositional logic.

This mini-course teaches you the foundations of propositional logic in a practical way. You’ll see how this mathematical tool can be used to easily write and simplify complicated «if» conditions. This is particularly useful when validating a user’s input into a form or validating the body of an API request.

We’ll talk about:

How to translate our natural language into logic formulas;

How to manipulate logic formulas to make them simpler;

How to translate logic formulas into code.

Consider the following scenario: You need to write code to validate the user’s input. The input will pass the validation if the user has provided either an email address or a phone number, but not both at the same time, and, if the user has inputted their phone number, then they must also include the country dial-in code.

This kind of long-winded condition can be a bit confusing. In this mini-course, you’ll see how propositional logic can help you easily come up with the correct code for it.

Para más cursos Gratis y para ver los que siguen así visita nuestra aplicación web UFree.

Descarga la aplicación oficial!

Cupón Udemy: Write Html & Css 5 Times Faster With Vs Code & Emmet 2023 – Udemy Coupon
Cupón Udemy: Write Html & Css  5 Times Faster With Vs Code & Emmet 2023 – Udemy Coupon

Learn To Write Code Faster Using Visual Studio Code And Emmet + Extensions + Visual studio Code Shortcuts in 2023 Read more

Udemy Gratis: APRENDE JAVA Desde cero Ejercita tu Lógica – Udemy Free
Udemy Gratis: APRENDE JAVA Desde cero Ejercita tu Lógica – Udemy Free

Aprende a desarrollar algoritmos decenas de ejercicios y traducirlos a JAVA, programas, condiciones, ciclos, y cadenas. APRENDE JAVA Desde cero Read more

Cupón Udemy: Drone Flight Planning 101: Learn To Plan Your Drone Missions – Udemy Coupon
Cupón Udemy: Drone Flight Planning 101: Learn To Plan Your Drone Missions – Udemy Coupon

Plan a safe and legal drone mission according to international standards and appropriate drone flight parameters. Drone Flight Planning 101: Read more

Cupón Udemy: Podcast With NLP for High Audience Growth – Udemy Coupon
Cupón Udemy: Podcast With NLP for High Audience Growth – Udemy Coupon

Increase Your Podcast Audience Using NLP and Hypnosis. Podcasting for Success Podcast With NLP for High Audience Growth Idioma English Read more

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *