Coder Social home page Coder Social logo

Comments (9)

stmuk avatar stmuk commented on July 20, 2024 2

This is an excellent idea. Systems like Windows require this anyway if Perl 5 and 6 are in use on the same system and the file extension types registered.

from ecosystem.

nige123 avatar nige123 commented on July 20, 2024 2

I agree we definitely need something different to Perl 5.

It's good to avoid confusion on the command-line (and elsewhere too).

I have reservations about anything including the number "6" however:

  • it implies a version number - and versions change
  • 6 is unfortunately one higher than 5 - which disenfranchises Perl 5 users - Perl 6 is a different dialect of the language - not a newer version that supplants Perl 5
  • for a supposed 100 year language - imagine it's 2030 - won't it be a bit weird that you need a spurious "6" in the filename?

IMHO we really need to rebrand our favourite dialect of Perl. Once this happens - things like new distinctive file suffixes will follow naturally.

In the meantime we could use .p6 and .pm6 as a placeholder.

from ecosystem.

JJ avatar JJ commented on July 20, 2024 2

@nige123 that's a completely different discussion, and this is not the place to have it. As @AlexDaniel says, these are the extensions that are officially recommended now. Maybe move the discussion to perl6/user-experience?

from ecosystem.

AlexDaniel avatar AlexDaniel commented on July 20, 2024 1

it implies a version number - and versions change

“6” in “Perl 6” is part of the name now. It's not a version number anymore. Perl 6 will never become Perl 7 or Perl 10. As another data point, we are thinking about an alias to the name, and one of the proposed aliases is “6lang”. It has a number in it also, but similarly it will never become “7lang”.

6 is unfortunately one higher than 5 - which disenfranchises Perl 5 users - Perl 6 is a different dialect of the language - not a newer version that supplants Perl 5

Which is also why we are talking about an alias. See this: https://github.com/perl6/6.d-prep/tree/master/TODO#language-extended-naming

for a supposed 100 year language - imagine it's 2030 - won't it be a bit weird that you need a spurious "6" in the filename?

In 2030 I'd expect 🦋 in a filename. As for digits vs alpha, no difference for me. It's not spurious, it's part of the name.

from ecosystem.

nxadm avatar nxadm commented on July 20, 2024 1

I would love the renaming as the next guy (.rk for Rakudo!), but in the meantime .p6, .pm6 and .pod6 is a step forward.

from ecosystem.

nxadm avatar nxadm commented on July 20, 2024

.p6, .pm6 and .pod6 (or rather .md, but that's an other can of worms) is the way to go. The .pl and co date from the time when Perl 6 was suppose to supercede 5.

from ecosystem.

nxadm avatar nxadm commented on July 20, 2024

Also, it's important to pick .p6 or .pl6. Not both. Too confusing.

from ecosystem.

JJ avatar JJ commented on July 20, 2024

from ecosystem.

AlexDaniel avatar AlexDaniel commented on July 20, 2024

Yes. .p6 and .pm6 are now officially recommended. By the way, feel free to add .pod6 to the list on that doc page (preferably with an explanation on how to use it)

from ecosystem.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.