Menu
Sign In Search Podcasts Charts People & Topics Add Podcast API Blog Pricing

Marco Arment

๐Ÿ‘ค Speaker
9582 total appearances

Appearances Over Time

Podcast Appearances

Accidental Tech Podcast
680: A Lot of Holes in That Cheese

And if you're working in a web app, you're dealing with a directory tree full of files.

Accidental Tech Podcast
680: A Lot of Holes in That Cheese

And so...

Accidental Tech Podcast
680: A Lot of Holes in That Cheese

In TextMate, if you don't hit Command-S, your data is not saved.

Accidental Tech Podcast
680: A Lot of Holes in That Cheese

And so when you go back to the browser and hit refresh or rerun the script or whatever, you will not have whatever is unsaved being run in your test.

Accidental Tech Podcast
680: A Lot of Holes in That Cheese

So I just developed the habit of whenever I go to run whatever I've written, I hit Command-S first.

Accidental Tech Podcast
680: A Lot of Holes in That Cheese

So I am a little bit more loosey-goosey about it in Xcode.

Accidental Tech Podcast
680: A Lot of Holes in That Cheese

For instance, if I do a find and replace across multiple files in Xcode, I will do that find and replace, and then I'll just hit run.

Accidental Tech Podcast
680: A Lot of Holes in That Cheese

I won't think, are all those files saved?

Accidental Tech Podcast
680: A Lot of Holes in That Cheese

think it's just the current one but but because it's not connected to anything like the elevator door close button and you two were just hitting command s to make yourself happy well like but it doesn't it doesn't like if you if you hit command s and notes it'll beep at you to kind of yell at you like don't don't save me what are you doing i feel like xcode should do that

Accidental Tech Podcast
680: A Lot of Holes in That Cheese

I mean, I would probably stop doing it eventually.

Accidental Tech Podcast
680: A Lot of Holes in That Cheese

I don't do it that often in Notes.

Accidental Tech Podcast
680: A Lot of Holes in That Cheese

But yeah, it's that same carried over habit.

Accidental Tech Podcast
680: A Lot of Holes in That Cheese

Because the thing with Notes, again, Notes makes more sense not to do that because there is no explicit save action that the app is doing on your behalf to a file.

Accidental Tech Podcast
680: A Lot of Holes in That Cheese

Whereas Xcode, it is still working on individual files.

Accidental Tech Podcast
680: A Lot of Holes in That Cheese

And until you hit Command-S or build and run the app...

Accidental Tech Podcast
680: A Lot of Holes in That Cheese

Those files are not saved.

Accidental Tech Podcast
680: A Lot of Holes in That Cheese

i'm not 100 sure but i am like all right i can i just tested it because you can tell like whether it shows up in your git diff um and yeah if you just type some code if you just type something and alt tab away sorry command tab away um and you know look at like it won't oh wait a minute oh my god now it's there i'm gonna take it it's auto saves every two seconds doesn't it

Accidental Tech Podcast
680: A Lot of Holes in That Cheese

Gracious.

Accidental Tech Podcast
680: A Lot of Holes in That Cheese

Oh, my God.

Accidental Tech Podcast
680: A Lot of Holes in That Cheese

Maybe... This is the year of efficiency.