Podcast Search

Under the Radar

54: Parametric Design

Select a time to play from there. The line being spoken is highlighted as the audio plays.

0:00:00Welcome to Under the Radar, a show about independent iOS app development.

0:00:04I'm Mark Orment.

0:00:05And I'm David Smith.

0:00:06Under the Radar is never longer than 30 minutes, so let's get started.

0:00:10So today we wanted to talk a little bit about design, to pull it back into something a little

0:00:18more pretty I suppose.

0:00:20To talk a little bit about a very low-level approach to design that I think we both take

0:00:25in our apps and is something that I think can be really powerful once you start taking

0:00:30this approach and start using it in all of your apps.

0:00:32And it's something that I tend to call for myself parametric design, which is a very

0:00:37fancy and nonsensical name to have for something like this.

0:00:40But basically it's designing your app in such a way that large amount parts of the appearance,

0:00:47of the layout, of the sort of the way that it will appear visually on the screen is controlled

0:00:53by parameters and variables within your code.

0:00:57To the degree that you can change a few numbers, change a few values, and you can radically

0:01:03change the appearance of your application.

0:01:06And this is something that I think works best if you do a lot of programmatic UI rather

0:01:11than something like a storyboard where a lot of those values are baked into the storyboard

0:01:16or baked into the nib.

0:01:17But if you're doing any amount of your UI and code, it's possible to do a lot of this.

0:01:23If you're doing it in storyboards and stuff, you can still do it there.

0:01:26You're just going to have duplicated effort in a lot of places where you set a value in

0:01:30your storyboard and then you also have somewhere in code that you can overwrite that value.

0:01:35But either way, however you end up with it, if you design your app such that you can change

0:01:40everything dynamically, it makes the development process, I think, much more fluid and is something

0:01:47that I've found for myself helps me very quickly iterate on a design because usually what happens,

0:01:53and this is something, the reason this topic is a friend of mine for me, is I'm going through

0:01:57the layout and design phase of my next app.

0:02:00And the way I tend to do this is I'll put a very basic, super simple, kind of horrendously

0:02:07ugly design in place.

0:02:09It has bad colors, it has bad fonts or sizes and weights, and I'm just trying to get it

0:02:16sort of basically working.

0:02:18And once I have that, I then want to go through and actually sort of adjust it and dial it

0:02:22down.

0:02:23And this is sort of the bottom-up design approach rather than if you're working with a professional

0:02:29designer or somebody who's giving you a "here's what it should look like in the end" and you're

0:02:33working from there down, obviously this isn't something that would work.

0:02:36But if you're working it from the approach like me where you're starting with just basic

0:02:39like, it's just the UI button that looks like a UI button, it's a UI label that just looks

0:02:43like a UI label.

0:02:44If you start there, and are working on it, if you build your app such that you can have

0:02:50all these dials and hooks into it, then you can quickly change things.

0:02:54And this is the approach that I tend to take, that when I'm actually iterating on my UI,

0:02:58I'm just sitting there changing variables and then build and run, look at it, see how

0:03:02it feels, run it on my device.

0:03:05I've even seen people who do this where you actually build a method into the application

0:03:09where if you quadruple tap on the screen with three fingers, a little UI pops up that you

0:03:15can change the values while the app is live and running.

0:03:19But it's an approach I think that is a way of thinking about your app at a level that

0:03:24gives you that flexibility.

0:03:25And ultimately it probably even makes your app better from a testability or, not that

0:03:31I really write tests, but from an ability to understand what's going on perspective,

0:03:36because everything that's in the app, everything about the way it looks is explicitly written

0:03:42out somewhere, because it's a variable whose value you can change.

0:03:46Yeah, I mean this is the kind of thing, I've designed Overcast from day one to be this

0:03:51way in many ways, and this can start with very simple things.

0:03:55It can start with something like text sizes and whether your app has a light or dark theme.

0:04:01And if you make all this managed by some kind of central class, like in Overcast it's called

0:04:06OC Appearance, because it goes beyond what UI Appearance offers, although OC Appearance

0:04:12manages the UI appearance.

0:04:14But OC Appearance is just my centralized class that listens for notifications for things

0:04:19like the dynamic text size preference changing, and then it posts, it basically reposts a

0:04:26notification to all my custom controls and classes and controllers and everything.

0:04:32They all listen for the OC Appearance did change notification, and then they set their

0:04:38own layouts accordingly.

0:04:40And when you take this kind of approach, this makes it way easier to do things like support

0:04:45dynamic type, or support a dark mode, or alternate color schemes, or to support certain accessibility

0:04:51options like bold text or button shapes.

0:04:55So there's lots of different things you can do once you have this kind of centralized

0:05:00design and appearance and theme manager infrastructure.

0:05:05And so, and one of the things I've done is very simply, I've created, if you have some

0:05:11kind of control or screen or area where you have a background, you can assume that background

0:05:17will probably be white by default on most things.

0:05:19In Overcast, I make that an OC background view, which is a custom UI view subclass that

0:05:24literally just listens to the OC Appearance did change notification and sets itself to

0:05:28be the current theme's background color.

0:05:31And that way, it's very, very easy for me to not only change the design, but to implement

0:05:36dark mode.

0:05:37And so I can test out all sorts of colors and things very easily, and then every background

0:05:42in my app automatically changes with this custom OC background view.

0:05:46Similar, I have OC button, I have OC border button for all the little round erect buttons

0:05:50I have in Overcast.

0:05:51It's all a standard class that automatically customizes its own appearance whenever the

0:05:55appearance changes and can respond to all these different values and everything, both

0:05:59dynamically or originally in the code, like you were saying.

0:06:02I also have an OC styled label, and this is one of my most used and biggest time saver

0:06:08UI things I've ever done, is the OC styled label.

0:06:12And basically, it's a UI label subclass, like the other ones, it manages its own appearance

0:06:17and its own parameters and everything, based on the current Overcast theme, whether it's

0:06:23dark mode or whatever.

0:06:24But the OC styled label takes as its main parameter the UI font text style, which is

0:06:30just like if you're picking a UI font, you can call the preferred font with whatever

0:06:35the full method name is, preferred font with style UI font text style.

0:06:39These are all the iOS 7 and above built-in text styles.

0:06:41You have headline, body, caption one, caption two, stuff like that.

0:06:45And in my OC styled label, I can just create one of these instances and stick it right

0:06:49into a UI in code or an interface builder, and it automatically will style itself not

0:06:54only for that style, but it also will pick up things like in my OC appearance class,

0:06:58I've defined default colors, default font attributes.

0:07:02So for instance, in the San Francisco font, numbers by default are not proportional exactly.

0:07:09Like a one is narrower than a zero, for instance.

0:07:13They're not fixed proportions, rather.

0:07:17In many of my contexts, I need that.

0:07:19So I have one place to set that in the OC appearance manager, where I have a function

0:07:23that's called something on the lines of default font attributes for text style.

0:07:27And I know that in certain text styles, in almost all of them, I want my fixed width

0:07:31numerals.

0:07:32So I have that one place to set it.

0:07:34And my OC styled label class can manage all that for me.

0:07:37So all over the UI, I'm only having to change the stuff in one place.

0:07:41I change one value in one OC appearance line, and then all the labels across my entire app

0:07:49will automatically update.

0:07:51Dynamic text is super easy, because all those styled labels, they include either a forced

0:07:57fixed size for things that are really tight, like the labels that are in the title bar

0:08:00on the now playing screen, or a dynamic size adjustment based on dynamic type.

0:08:06So I can say, just create this label and have it be the regular preferred dynamic type size,

0:08:12whatever the current size is.

0:08:13Or I can have it say, that size plus two points, if something needs to be a little bit bigger,

0:08:18minus two points, a little bit smaller.

0:08:20And that makes it so easy to support these accessibility features, and to use dynamic

0:08:25type, and make all that happen for people who want or need that, and still have this

0:08:29incredible ease on the code side, where I don't have to code that into every view controller.

0:08:34I don't have to have that part of every custom control.

0:08:38It just automatically inherits from these few base classes I've made that manage their

0:08:41own appearance, and then the OC appearance class that handles it all parametrically,

0:08:45as you would say.

0:08:46I have one place where I can change this.

0:08:49If I want to change the font weight across the entire app, I change that in one place,

0:08:54and one line of code in that class.

0:08:57Doing it this way makes things so much easier.

0:09:00And as conditions change, as styles change, as fashion changes in app design, or as Apple

0:09:06adds things, like there's a rumor that they might soon add a system-wide dark mode, then

0:09:12again, if you have designed this way, this gives you one place where you have to implement

0:09:16that.

0:09:17And then all the rest of your app automatically picks it up from your appearance manager.

0:09:22You really should design this way if you can.

0:09:24Yeah, and I think there's two levels of where this comes into play.

0:09:28There's the side of it that you're talking about, where I think it's very much the following

0:09:34the principle of not repeating yourself, of avoiding duplication, that you don't have

0:09:39every single view controller has a viewDidLoad method that's just 50 lines of setting style

0:09:45stuff.

0:09:46And obviously a lot of this got better when they introduced the appearance manager stuff

0:09:49to UIKit, which is certainly something that I think we both use.

0:09:53But even beyond that, there's so much of this that you're still needing to have more things

0:09:59than beyond that, and then even just other stuff beyond appearance, like the actual UIKit

0:10:05appearance stuff that you actually need to do.

0:10:07And so there's not repeating yourself and trying to consolidate all of this code into

0:10:12a place that you can easily update.

0:10:16What I like about that approach is you inevitably you'll have one-offs, and you'll have things

0:10:20that are slightly different, but you can even inside of that you have two different methods

0:10:27that are physically close to each other in your application that are doing the default

0:10:36version and then there's the bold version or whatever it is.

0:10:39By putting those logically close to each other, I find it so much easier when I'm debugging

0:10:44when I'm like, I change one and I expect the other one to change, and it doesn't.

0:10:49There's something even helpful about, well, all I have to do is look down a few lines

0:10:52and I'll probably see where I'm doing it wrong.

0:10:55But also I think it can be really helpful, even just at the really, really few all the

0:10:59way down to the lowest level.

0:11:02I run into this a lot, and I'm weird for doing my layouts this way, but I do a lot of my

0:11:07view layouts programmatically.

0:11:10So I do a lot of work in view will layout subviews and those types of methods.

0:11:15That's just how I think, that's fine.

0:11:17It's definitely not for everybody.

0:11:18No, you don't have to apologize for that.

0:11:20So basically a week after we did the episode about how I've been embracing Interface Builder

0:11:25and Auto Layout, I converted to what you're doing.

0:11:29Because I hit, just like everything with Interface Builder and Auto Layout, it's great until

0:11:34you hit a wall.

0:11:35And then you realize that you're spending an incredible amount of time and effort to

0:11:39do things that you could really do very easily with a 10 line layout subviews function.

0:11:48But in those layout subviews function, I think it's another place that I've found this kind

0:11:51of parametric approach to be really, really powerful.

0:11:54In some ways even more when you're early on especially.

0:11:59If you define, I end up with a lot of these very, my view layout subviews methods are

0:12:05often, it's half defining variables.

0:12:09There's a lot of, I guess now that I'm in Swift, is all these let something equal something,

0:12:13let something equal something.

0:12:14That's like the first half.

0:12:16And the second half is all the actual framework where I'm actually saying build the frame

0:12:20and do the math and lay it out.

0:12:22But you can do all these fun things where you're just like, okay, this is the padding,

0:12:25this is the inside padding, this is the outside padding.

0:12:27And you can put all those values as just values that you can change dynamically.

0:12:34And it's so powerful when you're looking at a UI.

0:12:36Because I feel like I can get the initial UI vaguely right, fairly quickly by eye.

0:12:46But then there's a certain point that you're just kind of looking at and you're like,

0:12:51that label just looks, I think there's a term for this where it's like visual centering,

0:12:58is a lot of times you have something to do an icon design where something is technically

0:13:02centered but it doesn't look centered because a perfect circle is easy to center.

0:13:09But if say you have something that's really thin at the top and heavy on the bottom, it

0:13:12can actually look like it's off center if it's actually centered.

0:13:16And I think you have a lot of these things in user interface design where things can

0:13:21be technically correct.

0:13:22Like say you say, oh, I always have eight points of padding on the left side of all

0:13:27my views.

0:13:28But there's possible that somewhere in your layout, nine points would actually look better.

0:13:35And so pulling all these things into these functions, so that there's no magic numbers

0:13:41in your frame stuff, all your frame logic in this case is just equations.

0:13:47And they're all nice labeled equations that are saying it's padding plus label width

0:13:52plus padding or however you want to lay it out.

0:13:55You're being very clear and explicit can make this really a powerful approach.

0:13:59And I think it works both ways.

0:14:01Either way, the last thing you want in your app is to have a design that is expressed

0:14:07somewhere that you can't change easily.

0:14:11I think even I remember to the extent of, I remember I think it was Vesper that I first

0:14:15saw someone do this where they even were just in Vesper, I think they defined a bunch of

0:14:20these things even in a plist file, which is an interesting approach they took.

0:14:25Because it allowed non-developer people to make changes to the application's appearance

0:14:34because they would just go into a plist and change stuff.

0:14:37And so it's even more powerful in that sense of you can actually even extract all this

0:14:41developer logic and put it into something that is a bit less scary.

0:14:45You may not necessarily want your designer going into your code and changing things.

0:14:50I mean, not against designers, they're lovely, but that's a problematic thing in a couple

0:14:55of ways versus here's this plist file that you can change and it's much less likely to

0:15:01cause problems or conflicts or issues down the road.

0:15:04It's also, it lets them work faster.

0:15:08It's part of when you're working on a team with multiple people like that, if you have

0:15:11a separate designer, they can do their job faster if you can give them that kind of infrastructure

0:15:16and that kind of setup.

0:15:18And I think too, between our two main points, having these variables defined at the top of

0:15:25your layout function versus me having them try to be defined in a central place, like

0:15:30an appearance manager class, you can actually combine these things.

0:15:33One of the principles of design generally is to not to have too many different things

0:15:38in one layout.

0:15:40So if you're gonna have certain fonts, don't have 10 different fonts in your app, have

0:15:45maybe two or one.

0:15:49Don't have regular, semi-bold, bold, heavy, and book, have two font weights and have one

0:15:57boldish font weight and one regular font weight, things like that.

0:15:59You try to minimize the amount of different combos you have because it just looks, it

0:16:04tends to look better if you standardize on one or two values in each one of these areas.

0:16:10Also one of the things you can do is you can define your default spacing between elements

0:16:16on the screen, like default left margin, eight.

0:16:18And you can have that in your appearance manager class.

0:16:21And so you can have your custom layout functions, use that as a starting point.

0:16:26And then for the ones that need additional padding, don't just put a match number in

0:16:30that says nine, have it be default padding plus one.

0:16:35Or even better, the floor of default padding plus 10%.

0:16:40If it's proportional, it's even better 'cause then you can scale it to different sizes and

0:16:44everything.

0:16:45And so that kind of approach, it still allows you to standardize things and it's even better

0:16:51for what you're describing as parametric design because then you can go to your appearance

0:16:55manager class and even have spacing be one of those things that you can change in one

0:16:59place and have the whole app change as a result.

0:17:02Yeah, and it's so powerful when you get into this.

0:17:06And I guess it's sort of why I wanted to do an episode on it.

0:17:09It's something that I have, every now and then I'll go back, I mean, I have a lot of

0:17:12old projects and some of them are still in the store.

0:17:14And I'll go back and look at the code.

0:17:16And of course, any programmer's worst nightmare is when you open something and there's just

0:17:23all these magic numbers.

0:17:25All these just, you know, and I call it, say, a magic number.

0:17:27Just any number that doesn't have a label as to what it means is a magic number.

0:17:33So sometimes you can get away with it if it's an obvious thing, like the number of times

0:17:38I divide by 60, you know, and when I'm doing date or time things.

0:17:42Like maybe that's okay.

0:17:43It's not perfect.

0:17:44No, you have a constant, seconds per minute.

0:17:46There you go.

0:17:48Sure, that's even better.

0:17:50But what you're really doing is when you go into something and you have this font, it's

0:17:55like, it's 18 here, it's 17 there, you don't know why.

0:17:59Someplace you have padding here or you just have these numbers that are, it's like, you

0:18:03know, I remember back in the day when I used to always assume that an iPhone's width was

0:18:08320.

0:18:11And you know, when the iPhone 6 came out, all of a sudden I had to go through my app

0:18:15and I, you know, this is what I actually did.

0:18:18I opened up Xcode and did, you know, search all for 320, for 640, for 480, like all of

0:18:26these values.

0:18:27And I found dozens of them everywhere.

0:18:30And that's really problematic.

0:18:31It's like, that really shouldn't be there.

0:18:33That should be, in that case, it's proportional to the screen.

0:18:36So somewhere I should have a, you know, device, get the device bounds, get the width, and

0:18:41then it should just dynamically update.

0:18:44And by making it not tied to something that's hard-coded in that way, it's like your example

0:18:49with padding and using the floor rather than just adding one.

0:18:54If you get out of those habits, like any time, in a weird way, you're doing something that's

0:18:58so numerical, but it should have almost no numbers in it, that it's like, the numbers

0:19:02only exist at the top, and then everything else is proportional and kind of expanding

0:19:06from that.

0:19:07It works really well.

0:19:08Like I've been doing this a lot with, on my Apple Watch work, where, you know, there are

0:19:14these two different sizes, and so you have to have a, but the weird thing with the watches,

0:19:19you don't typically change the UI between the 48 and the 38, the 42 and the 38 millimeter

0:19:26Apple Watches.

0:19:27Like, it's not like you have a totally new, it's not like an iPad to an iPhone.

0:19:30It's like, they're so close but slightly different.

0:19:33And so everything you have to do has to be proportional.

0:19:35Everything needs to be adaptable and flexible.

0:19:38And then once you wrap your mind around it and kind of commit to that approach, it's

0:19:41like all these things, just kind of like all these other problems that you would have otherwise

0:19:44just kind of fall out.

0:19:46We're sponsored this week by Linode.

0:19:48Go to linode.com/radar and use code radar20 at checkout for $20 in credit.

0:19:55Linode is a combination of high performance SSD Linux servers spread across eight data

0:19:59centers around the world.

0:20:01They're a fantastic solution for your server infrastructure needs.

0:20:04You can get a server up and running at Linode in just under a minute, with plans starting

0:20:08at just $10 a month.

0:20:09That now gets you two gigs of RAM for just $10 a month.

0:20:12This is like amazing pricing for what you get at Linode.

0:20:16David and I are both customers of Linode.

0:20:18We've both been there since long before they were sponsors of our show.

0:20:21Linode's great.

0:20:22I definitely recommend them.

0:20:24Linode is, they have an amazing control panel.

0:20:26They have amazing options.

0:20:27They have amazing pricing.

0:20:29This is great for things like if you have to run a server for your app or even if you

0:20:33want to run a private Git server.

0:20:34If you want to host databases, run a mail server, although you shouldn't run your own

0:20:38mail server, but you can at Linode.

0:20:39You can operate powerful applications.

0:20:41I have, I think, I think Overcast runs on something like 16 Linode VPSs.

0:20:46It's incredible.

0:20:47You can do so much there from one little thing for 20 bucks a month all the way up, or for

0:20:5310 bucks a month even, all the way up to me running Overcast there for something like

0:20:57$1,000 a month with all these different servers, all these high specs.

0:21:00You can do crazy stuff at Linode.

0:21:01It's amazing.

0:21:02I love it.

0:21:03You should love it too.

0:21:04Check it out.

0:21:05Go to linode.com/radar.

0:21:06He'll be supporting us by doing that, and you get $20 towards any Linode plan using

0:21:11code RADAR20 at checkout, and they have a seven-day money-back guarantee, so there's

0:21:16nothing to lose.

0:21:17Thanks a lot to Linode for supporting the show.

0:21:20So to finish out the show, it seemed also kind of a fun little thing for us to, now

0:21:23that you've, hopefully at this point, we've convinced you that parametric design is a

0:21:27good thing that you should at least build into your apps.

0:21:30Once you've done that, there's some really fun things that you can use as a result to

0:21:34make your apps better, and as an example, something that I do a lot when I'm trying

0:21:40to kind of narrow in on a good design is I will have my app randomly change some of these

0:21:47parameters inside of it, and it lets me experiment, or maybe not randomly even, but where it's

0:21:54like I'm trying to work out what the right padding is, and so I set it to, you know,

0:21:59it starts at one, and then five seconds later it goes to two, five seconds later it goes

0:22:02to three.

0:22:03So you can have your app grow and shrink and adjust as you go, because it's all just

0:22:10numbers, and so if you build this approach, you can do stuff like that, where you can

0:22:16kind of, I sometimes struggle to visualize in my head what different values are going

0:22:22to be, and maybe that's part of why I'm not a designer, I'm a developer.

0:22:25Like, I can't imagine it, I can just write it, but if you build your app this way, you

0:22:29can sit there and be like, "I don't really know which one I should do."

0:22:33Another example is you can take the same approach but with fonts, and you say--

0:22:37>> It's like a random font.

0:22:39>> Well, you only have so many system fonts, right?

0:22:41And it isn't so much that you're trying to randomly pick a font, but it helps start

0:22:49my mind thinking about how my app could be different if I try different things that I

0:22:54wouldn't necessarily think to otherwise, that if I had to manually go through and type

0:23:00in all the different font names, I would never do it.

0:23:02But it's like you try through and you're like, "Huh, actually this one kind of looks

0:23:06good.

0:23:07Why does this one look good?"

0:23:09And it may not be that I'm going to end up using that random font, but it's like,

0:23:12"Huh, maybe the reason I liked that one," for example, is that it was more condensed

0:23:16rather than more wide, or it had obviously big, obvious things like serifs or non-san

0:23:21serifs or different font weights.

0:23:23I feel like there's something to be said for just taking the approach of just having

0:23:28your app be very flexible this way, and then taking advantage of the flexibility to be

0:23:32like, "Let's change all the things."

0:23:34And most of the time it's not going to look good, but every now and then you can kind

0:23:38of look and be like, "That one.

0:23:41That's the one that I like," and sort of dial into it.

0:23:44And I think you did a similar thing when you were doing your dark mode, though for a different

0:23:49reason, right?

0:23:50Because you kept switching between the light and dark mode to accomplish, to make sure

0:23:54that you were doing it right.

0:23:55Yeah, it's actually kind of a way to make sure that you've accommodated for dynamic

0:23:59changes on all of your screens.

0:24:01I just set a timer in the app delegate to change color scheme every five seconds.

0:24:07And I went through the entire—even if for some reason you find a way to change the color

0:24:12scheme without being logged in, even the login screens change, the password reset screens

0:24:17change, every screen in Overcast changes dynamically for dark mode, and any of the kind of theme

0:24:22changes, dynamic text, everything, every screen changes.

0:24:26Because I literally went through and had this running every five seconds where it would

0:24:29toggle it, and I went through every single screen in the app and converted it.

0:24:33And I actually—similar—I just made fun of you a second ago for random fonts, but

0:24:37when I was picking Overcast's font back when I was developing 1.0, I did basically

0:24:42that same thing.

0:24:44I had a folder full of ten different custom fonts, plus a list of some of the built-in

0:24:49ones, and I had all this dynamic appearance stuff already in place, mainly for this purpose.

0:24:55And so I just tried it out, because you can't really do this in the simulator.

0:24:59You really have to see on device.

0:25:01You have to see how this stuff looks, whether it seems right, whether it fits in.

0:25:06And so that's what I did.

0:25:09I had the font be managed by this appearance manager class since 1.0, and I just tried

0:25:13all these different fonts and different adjustments to the sizing and the line spacing and everything

0:25:18else, and eventually found the one that I thought worked best and that I liked the look

0:25:23of best.

0:25:24But I think if there's an overriding theme of what we're getting at here, we as programmers,

0:25:31we often are not the best designers.

0:25:34I think it's safe to say.

0:25:37Very safe.

0:25:39And all the way back in episode number ten of this show, we called "Design by a Programmer,"

0:25:44we talked about some of the ways we make images this way, and I would be horribly delightful

0:25:49if I didn't mention Paint Code as being an incredible resource.

0:25:54Paint Code not only allows you to draw stuff, and it's a vector drawing program that outputs

0:25:59either images or source code, and you can render things dynamically, which is awesome

0:26:04for parametric design.

0:26:05But even within Paint Code, you can have variables in your Paint Code documents for things like

0:26:11colors, stroke, widths, things like that, and you can dynamically just hit a button

0:26:17like an up or down stepper control on some of these things to increase the stroke width

0:26:22on everything in your document that uses it, or you can have colors that are derived from

0:26:26other colors.

0:26:27You can say this color should be base color minus 20% saturation, or whatever you want

0:26:31to do.

0:26:32You can have cool stuff like that in Paint Code.

0:26:34I highly recommend this app.

0:26:36It's amazing.

0:26:38But this is all a way for programmers like us who are not really designers by training

0:26:44or by skill, really, to fumble our way through.

0:26:49And we discussed a lot back in episode 10 why you might want to do this yourself and

0:26:53not hire a full-time designer, and for many people, that choice is made for them by economics.

0:26:59So a lot of times, you are your own designer just because that's what you can afford

0:27:02to do.

0:27:04And it's nice when you have this kind of parametric approach because we don't inherently

0:27:10-- we can't just, as you said earlier, we can't just kind of come up with the right

0:27:13thing on our first try in our head.

0:27:15We have to just kind of build it that way, try it, see it in the app, and then kind of

0:27:20figure out, play with the values a little bit to see what really looks best, what really

0:27:24works best here.

0:27:26And when you have this kind of parametric approach, this kind of procedural value-based,

0:27:31parametric centralized approach, it makes that so much more possible and so much easier

0:27:37to be able to experiment with your design so that you can eventually come up with what's

0:27:40right.

0:27:41And I think in many ways, that is at the core of this idea is anything we can do as developers

0:27:47to make experimentation and exploration of our app easier and safer.

0:27:54I have complete confidence that if I may change one of these values, I'm not going to horribly

0:27:59break everything.

0:28:00And if I do, I just undo it.

0:28:02It's not that kind of change where it feels heavy.

0:28:05And anything we can do, I think, to make experimentation, to make exploration light and fun in some

0:28:12ways, honestly, I think will allow us to make our apps better and to do it in a way that

0:28:19fits a developer mindset.

0:28:21And so anything you can think of, like this is an example where you take an approach to

0:28:25your design that makes it fun and easy to experiment.

0:28:29Maybe you can think of other places to do that in your application or in the way that

0:28:32you build it.

0:28:33But that kind of a freedom, I think, is what ultimately makes it so powerful and ultimately

0:28:37I think allows individual developers or developers without big design budgets.

0:28:44I can't come up with it right the first time, but if I take this approach, I can try a hundred

0:28:50different designs in the time that a regular designer could only come up with one or two

0:28:56just because I'm just iterating so quickly through it.

0:28:59And I think that is at its core what makes this so powerful.

0:29:01Exactly.

0:29:02All right, best of luck everybody implementing your designing by programmer style here, designed

0:29:08by math.

0:29:09That's all the time we have for this week.

0:29:11Thank you for listening everybody and we will talk to you next week.

0:29:13Bye.

0:29:14[BLANK_AUDIO]