dotnet / interactive

.NET Interactive combines the power of .NET with many other languages to create notebooks, REPLs, and embedded coding experiences. Share code, explore data, write, and learn across your apps in ways you couldn't before.
MIT License
2.9k stars 387 forks source link

change file extension for VS Code notebooks #433

Closed jonsequitur closed 4 years ago

jonsequitur commented 4 years ago

The current file extension, .dotnet-interactive, is a placeholder. We should come up with something more concise.

LadyNaggaga commented 4 years ago

Here are some suggestions

colombod commented 4 years ago
LadyNaggaga commented 4 years ago
BillWagner commented 4 years ago

I think my favorite is

What about:

It will show my age, but a "dib" once referred to a "device independent bitmap".

csharpfritz commented 4 years ago

I’ve got dibs on this one.

glennc commented 4 years ago

I liked the idea of having NB for notebook in it.

Most of the suggestions so far have common files that exist with that extensions. That's not necessarily a show stopper. But it'd be nice if there wasn't a conflict.

It also amuses me a little that it reminds me of this:

image

glennc commented 4 years ago

No real results in terms of an existing file extension that is :)

LadyNaggaga commented 4 years ago

@glennc and @BillWagner I like both your suggestions. .NET Interactive isn't purely for notebooks so, we were trying to leave out of the name. But, I really like both your suggestions

jonsequitur commented 4 years ago

I think the "nb" suffix helps make the association to notebooks so even though these files are also usable as automation scripts, that might be less important.

shanselman commented 4 years ago

oh my it's gotta be .dnb, dni, dib, any of those.

jongalloway commented 4 years ago

Yep, was thinking .dnb too. Three letters is best and dnb is fun anyways because

LadyNaggaga commented 4 years ago

Thanks @jongalloway and @shanselman I kind of like dnb because it could be dotnet books or dotnet notebooks. Low-key I am still rooting for . dib

bradygaster commented 4 years ago

with all due respect I don't like the .dni option. I can't not think of "DNI" - 'do not resuscitate'. my favorite was dib but now I think I like dnb better. I mean, I was a d'n'b dj for a moment.

but not dni.

LadyNaggaga commented 4 years ago

@bradygaster good point about .dni. I also immediately think about D&I as well.

Looking at the options so far these three seem to resonate

gcrev93 commented 4 years ago

I like .dib and .dnb

But looking at the pros and cons @LadyNaggaga has listed .dib is the best choice since device independent bitmap hasn't been used in awhile

captainsafia commented 4 years ago

I'd vote for dib first and dnb second.

I'm a bit of the fan of the "interactive book" because it does a better job of explaining what the document is for than notebook. The term "notebook", popularized by Jupyter (and MATLAB before that) is a child of the academic origins of these technologies -- but is super easy to conflate with others thing, like a OneNote notebook, for newbies to the ecosystem. It also obfuscates the best parts of these technologies: the interactivity portion.

I like that dib highlights how the document works (it's interactive!) instead of just what it is (it's a a notebook!).

Also, TBH, from my experience whether or not "nb" exists in the file extension won't really affect whether people colloquially refer to it as a notebook or not. That depends more on how it functions (does it have code cells, does it have outputs, does it have the concept of a "run cell") than what's in the file extension. So you can get away with not having nb in the extension but still using notebook in the marketing to indicate what it's all about it.

Anyhoooo, I'll stop rambling now but you can tell which one I am passionate about. :P

LadyNaggaga commented 4 years ago

💯 @captainsafia

bamurtaugh commented 4 years ago

My top two choices are .dib and .dnb, in that order.

I agree it's nice to keep "interactive" as part of the extension name so that this isn't thought of as just a notebook solution, and so that the transition from .dotnet-interactive -> new-extension-name is smooth. But .dnb is a really close and nice second choice.

I also can't help but think of all of the demo fun you could have when saying it's time to open your dib file 😄

briacht commented 4 years ago

I agree -- .dib or .dnb sounds best to me 👍

mairaw commented 4 years ago

I really like dib. It's catchy, rolls off your tongue, and represents the product well.

I dislike dni. I think the acronym could conflict with other things as well (dotnet interop, dotnet installer, etc.) even though I know we're choosing a file extension not am acronym per se.

jonsequitur commented 4 years ago

I also like .dib but wonder if the fact that Windows has a default icon for it would confuse people. Maybe not a big deal once people change their file association to VS Code?

image

jonsequitur commented 4 years ago

image

amarie401 commented 4 years ago

My vote is for .dib or .dnb as well! Those two sound the best to me overall - though, I'm slightly leaning towards .dib more ;)

jonsequitur commented 4 years ago

.dib wins.

The latest version of the extension supports this.