273: Off the Topic of My Jammies episode artwork

EPISODE · Jan 11, 2019 · 59 MIN

273: Off the Topic of My Jammies

from Embedded · host Logical Elegance

Chris and Elecia chat with each other about the new year. All is fine until she starts quizzing him about some language details of his new project. Many object-oriented resources suggest using composition (has-a) over inheritance (is-a-type-of) (wiki). Where do swift extensions fit in? It seems to me (Elecia here) that extension is invisible composition that allows adding of functions. For example, say you want a TiltSensor and you already have an ImuSensor object so  you need to add a function for TiltComputation. You could make the TiltSensor contain an ImuSensor (composition). You call the ImuSensor functions to check the readings when running TiltComputation function. You don't need to know what is in ImuSensor, only what the API is. You could have TiltSensor be a child class of ImuSensor (inheritance) so that TiltSensor responds to all ImuSensor functions as well as its new TiltComputation function. You could use the variables in ImuSensor directly for TiltCompulation but you will need to know what is in ImuSensor for that to work. Or, in Swift, you could have TiltSensor be an extension of ImuSensor. Except it wouldn't be called TiltSensor, it would be part of ImuSensor: any file that had access to your extensions would be able to create an ImuSensor instance and call TiltComputation as if it was part of the original ImuSensor API. The TiltComputation function would only have access to its extension's variables and ImuSensor's API. You get to add new functionality without breaking backward compatibility. Some more resources on this topic: Composing Types in Swift Swift Language Guide: Extensions Swift Programming: The Big Nerd Ranch Guide by Matthew Mathias and John Gallagher iOS Programming: The Big Nerd Ranch Guide by Christian Keur and Aaron Hillegass LinkedIn Learning Courses Blender Beta with EEVEE renderer The Clean Coder: A Code of Conduct for Professional Programmers by Robert C. Martin Code Complete: A Practical Handbook of Software Construction by Steve McConnell Gelly Roll Glitter Pens (by Sakura) Google Podcast Link (or see the Subscribe page)

NOW PLAYING

273: Off the Topic of My Jammies

0:00 59:47

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

Epic: Silver Wing Realm EPIC is your new HQ for Realm’s exhilarating action and adventure stories, with new episodes dropping every Monday introduced by host Faith McQuinn.Embark on your greatest adventures yet, whether it’s crash landing on a desolate planet with only a cerebrally-embedded AI to guide you, or realizing that your latest game design is the only thing staving off total global annihilation. So unsheath those earbuds, clench that steering wheel, and buckle up because EPIC is about to take off.This month, we are featuring Silver Wing: On a desert planet in the far future, an old dragon hunter embarks on a desperate journey to save her estranged son. For centuries, the dragons have been sleeping. But in their rest, they provide a crucial energy source necessary to keep the planet Toon Flats habitable. Amphet Dahl is a diviner, gifted with the ability to sense the dragons’ dreams and memories and to the disappointment of her son, Afton, she uses this ability to Government Approved Matt Finlay (wavlake) This album was recorded in 432Hz base tuning and each track contains a different embedded solfeggio frequency tone.All songs written by Matt Finlay;except for "Your Government Is Your Enemy" written by Angry North (https://linktr.ee/angrynorth).All songs recorded and performed by Matt Finlay.Additional vocals on "Daddy Government" by Courage Is The Cure.Mixed by Matt Finlay & Number Six at TNP Productions LLC Mastered at TNP Productions LLC - https://anartistcollective.com/creatives-directory/media-arts/tnp-productions-llcISRC AU-OXF-25-00001Copyright Matt Finlay 2025Album artwork by Shelly Omstead at Anartist Collective - https://anartistcollective.com Louder Than A Riot Hip-hop emerged from the voices of the unheard. But freedom doesn't ring the same for everyone. Inside all corners of the culture, Black women and queer folk have dealt with the same oppression the music was built to escape. Season 2 of Louder Than A Riot examines who hip-hop marginalizes, and how misogynoir — the specific racist misogyny against Black women — is embedded into the fabric of the culture that we love.From Rico Nasty facing harassment from toxic fans, to Saucy Santana's unapologetically femme aesthetics in a queerphobic industry, to the assault case that put Megan Thee Stallion's image on trial, each episode of Louder Than A Riot unpacks the unspoken rules of rap that discriminate against a select few and have held the entire culture back. Hosted by NPR Music's Sidney Madden and Rodney Carmichael, Louder Than A Riot confronts power from every angle – from the power the genre wields over its artists, to the power plays th Unraveling Computer Vision And Edge AI For The Real World VisAi Labs - Hosted By Alphonse Raj David In this podcast I will be talking about how to use Embedded computer vision and edge AI in the real world.I will be sharing what VisAI Labs is currently doing to make real-world applicable practical computer vision applications and also share insights on what it takes to work on edge computing for vision and AI.To know more connect with us: www.visailabs.com

Frequently Asked Questions

How long is this episode of Embedded?

This episode is 59 minutes long.

When was this Embedded episode published?

This episode was published on January 11, 2019.

What is this episode about?

Chris and Elecia chat with each other about the new year. All is fine until she starts quizzing him about some language details of his new project. Many object-oriented resources suggest using composition (has-a) over inheritance (is-a-type-of)...

Can I download this Embedded episode?

Yes, you can download this episode by clicking the download button on the episode player, or subscribe to the podcast in your preferred podcast app for automatic downloads.
URL copied to clipboard!