Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
"TELL, DON'T ASK": No abuses de los getters ❌
Play lesson

OBJETOS (POO) desde -10 en Java ☕ - "TELL, DON'T ASK": No abuses de los getters ❌

5.0 (1)
21 learners

What you'll learn

This course includes

  • 18.5 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

Veamos el principio de diseño "Tell, don't ask" ("Dilo, no preguntes"), que nos permitirá una interacción entre objetos con un menor acoplamiento y una lógica general mejor distribuida. Link al artículo de Martin Fowler: https://martinfowler.com/bliki/TellDontAsk.html Descargá el código de aquí: https://github.com/CharlyCimino/tell-dont-ask-java 🙌 ¡APOYÁ AL CANAL! Si te gusta mi contenido, invitame un cafecito 😁 ➡️ Desde Argentina: https://cafecito.app/charlycimino ➡️ Fuera de Argentina: https://paypal.me/charlycimino 📌 Dejá tu comentario 📝, dale 'like' 👍, suscribite al canal 👥 y activá la campanita 🔔 ¡GRACIAS! 🤳 ¡Seguime! 🌏WEB PERSONAL: http://charlycimino.com 🌏 🌎INSTAGRAM: http://instagram.com/charlycimino 🌏 🌍FACEBOOK: http://facebook.com/charlyycimino 🌏 🌏LINKEDIN: http://linkedin.com/in/charlycimino 🌏 🌏GITHUB: https://github.com/CharlyCimino 🌏 🌏TWITCH: https://www.twitch.tv/charlycimino 🌏 🌏PATREON: http://patreon.com/charlycimino 🌏 0:00 Intro 2:00 Presentando el ejemplo 2:56 Lógica para acelerar motor sin "Tell, don't ask" 7:04 Agregar un método 'acelerar' a la clase Auto 9:52 Agregar un método 'acelerar' a la clase Motor 12:44 No ser fundamentalista: los getters siguen sirviendo 14:17 Cierre #POO #Java #NetBeans

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere