New Preferred Programming Language Requests

In this forum members can discuss topics about specific programming languages.
Oatworm
Posts: 2
Joined: Wed Jan 11, 2017 11:23 pm

Re: New Preferred Programming Language Requests

Post by Oatworm » Tue Jan 17, 2017 7:09 pm

Much appreciated and thanks!
Image

User avatar
mscha
Posts: 5
Joined: Sat Jan 21, 2017 9:55 pm

Re: New Preferred Programming Language Requests

Post by mscha » Sat Jan 21, 2017 10:09 pm

I realize that I'm not the first person to do so, but might Perl 6 please be added to the list of programming languages?

It really is a distinct language from Perl 5 (a.k.a. Perl). In many ways, it is extremely suited for Project Euler with built-in mathy stuff like is-prime(), combinations, permutations. So far I've solved p001-p122 with Perl 6 - many of those I have posted to the forum. (In one way it is a lot less suited: performance. But that should improve over time.)

Wikipedia: https://en.wikipedia.org/wiki/Perl_6
Wikipedia's list of programming languages, listing it as a separate language: https://en.wikipedia.org/wiki/List_of_p ... anguages#P
Homepage: https://perl6.org/

v6ph1
Posts: 98
Joined: Mon Aug 25, 2014 6:14 pm

Re: New Preferred Programming Language Requests

Post by v6ph1 » Sat Jan 21, 2017 11:33 pm

This request has been posted here at least two times before (the first one nearly 2 years ago):
https://projecteuler.chat/viewtopic.php ... rl6#p41986

The decision was not to differ between both:
https://projecteuler.chat/viewtopic.php ... rl6#p42004
Image

User avatar
markusloew
Posts: 2
Joined: Fri Jul 14, 2017 3:02 am
Location: France

Re: New Preferred Programming Language Requests

Post by markusloew » Fri Jul 14, 2017 3:52 am

I am new, and I started with problem 96. I have solved it in PL/I. Is it possible to add this language? It will allow me to adjust my profile. I intend to publish the source code. Everyone who is interested may install a System/370 emulation including it's OS (e.g. MVS 3.8j) on Linux, Windows, and even Darwin(MacOS). It will be discovering an other world for some ProjectEuler enthusiasts. 8-)

The language is to be found in https://en.wikipedia.org/wiki/PL/I

I am the owning admin of the YAHOO group https://groups.yahoo.com/neo/groups/PL1F-and-MVS38j

User avatar
markusloew
Posts: 2
Joined: Fri Jul 14, 2017 3:02 am
Location: France

Re: New Preferred Programming Language Requests

Post by markusloew » Fri Jul 14, 2017 4:27 am

BTW
I found a very old post:

Re: New Language Request...

Post by tesneddon » Thu Jun 11, 2009 5:27 am
I would also like to request the addition of PL/I, please.

Regards, Tim.

User avatar
euler
Administrator
Posts: 2938
Joined: Sun Mar 05, 2006 4:49 pm
Location: Cheshire, England
Contact:

Re: New Preferred Programming Language Requests

Post by euler » Sun Aug 20, 2017 9:11 am

Sorry for the slow replies.

@mscha: Until they rename it, Perl 6 is simply an evolution of Perl. In the same way that BASIC could refer to anything from Dartmouth BASIC, MS-DOS's QBASIC, right the way up to the current incarnation of VB. They are like chalk and cheese in many respects, but they all belong to the BASIC family.

@markusloew: I've added PL/I.
Image
impudens simia et macrologus profundus fabulae

OpenGL
Posts: 3
Joined: Sun Oct 01, 2017 8:41 pm

Re: New Preferred Programming Language Requests

Post by OpenGL » Sun Oct 01, 2017 8:45 pm

I am pretty surprised J isn't on the list.
my favorite language for code golfing and problem solving.

User avatar
hk
Administrator
Posts: 9926
Joined: Sun Mar 26, 2006 9:34 am
Location: Haren, Netherlands

Re: New Preferred Programming Language Requests

Post by hk » Mon Oct 02, 2017 8:02 am

Choose APL/J/K.
Image

User avatar
hk
Administrator
Posts: 9926
Joined: Sun Mar 26, 2006 9:34 am
Location: Haren, Netherlands

Re: New Preferred Programming Language Requests

Post by hk » Tue Oct 03, 2017 11:47 am

OpenGL:
Joined:Sun, 01 Oct 2017 21:41:33
Message above posted:Sun, 01 Oct 2017 21:45:05
Last active:Sun, 01 Oct 2017 21:45:06

Never heard of it anymore after that.

Please:
a) Look better before starting to post.
b) If you thought it necessary to post something here have the politeness of coming back within reasonable time.


Go happy code golfing in J.
Image

OpenGL
Posts: 3
Joined: Sun Oct 01, 2017 8:41 pm

Re: New Preferred Programming Language Requests

Post by OpenGL » Wed Oct 04, 2017 9:58 am

Sure thing, excuse my rudeness.
Thank you for your reply,
It's just that I saw that the last request was answered after a delay of month so I didn't expect an answer soon.
I did search but I just saw APL and didn't notice the slashes after it.
In any case,
why J and K aren't languages on their own?
I understand that they are designed on the basis of the same paradigm, however, all functional languages also are and they're separated (e.g Haskell and Racket aren't Haskell/Racket). Is there a reason for that?

User avatar
hk
Administrator
Posts: 9926
Joined: Sun Mar 26, 2006 9:34 am
Location: Haren, Netherlands

Re: New Preferred Programming Language Requests

Post by hk » Wed Oct 04, 2017 10:41 am

That's a question I don't know the answer for.
It has been so for years and before I joined PE.
Perhaps it's the way APL, J and K use non-verbal elements in their syntax that has something to do with it.
Perhaps it has occurred to you that all dialects of C/C++ are also gathered together as are all dialects of Perl and all dialects of Basic.
Oh, by the way what's your user name on the main site?
Image

OpenGL
Posts: 3
Joined: Sun Oct 01, 2017 8:41 pm

Re: New Preferred Programming Language Requests

Post by OpenGL » Wed Oct 04, 2017 6:14 pm

I agree, they do posses a lot of syntactical similarities which are unique to them,
however, they are totally different feature-wise and their goals have shifted through the course of time*.
probably older versions possessed much more significant similarity which made it right to group all three together.
The others are different, C++ was originally just an extension to C, dialects of Perl and Basic are, well, dialects.
Also, following the pattern, Java and Kotlin should be grouped together too, same goes for C# which is basically Microsoft's variation of Java.
I believe the naming is just simply inconsistent, my suggestions is to separate those to keep the fans of each language more content :).

My user name is Xotheus, just started project Euler a few days ago and I've been trying to 1-line golf as much problems as possible with J.

*more on that https://stackoverflow.com/questions/388 ... j-versus-k

User avatar
hk
Administrator
Posts: 9926
Joined: Sun Mar 26, 2006 9:34 am
Location: Haren, Netherlands

Re: New Preferred Programming Language Requests

Post by hk » Wed Oct 04, 2017 7:01 pm

I don't have the power to change anything.
However, I suggest keeping things as they are for reasons of simplicity.
Image

User avatar
euler
Administrator
Posts: 2938
Joined: Sun Mar 05, 2006 4:49 pm
Location: Cheshire, England
Contact:

Re: New Preferred Programming Language Requests

Post by euler » Fri Oct 06, 2017 10:26 pm

If we knew then what we knew now then we might have done a lot of things differently. As Hans said, they've been there like that for a long time and, like all the language preference choices, each of them have been grouped the way they are on the advise of those who used the languages at the time the request to add them was made. It's simply not wise to change them now. The members who previously chose them are not going to come back en-mass and update their preferences if we separate them, so we'd have skewed and confusing statistics. There is certainly no way for us to know who of that group actually use APL, J, or K. I hope that makes sense.
Image
impudens simia et macrologus profundus fabulae

adobnikar
Posts: 2
Joined: Sun Dec 03, 2017 8:49 pm

Errors/Warnings/Bugs

Post by adobnikar » Sun Dec 03, 2017 8:59 pm

Hello,
I am using Node.js (javascript) to solve the problems and I would love it if you added the option to pick javascript as my programming language in the profile settings.

traxex
Posts: 76
Joined: Thu Oct 19, 2017 12:30 pm

Re: Errors/Warnings/Bugs

Post by traxex » Sun Dec 03, 2017 9:38 pm

You can pick ECMAScript, which is almost the same thing.
Technically, everyone is full of himself.

adobnikar
Posts: 2
Joined: Sun Dec 03, 2017 8:49 pm

Javascript/Ecmascript

Post by adobnikar » Mon Dec 04, 2017 3:45 pm

Thank you :)

jimfan
Posts: 13
Joined: Fri Sep 29, 2017 3:09 pm

Re: New Preferred Programming Language Requests

Post by jimfan » Tue Dec 12, 2017 10:03 am

Hello all,

Quite a discussion.

As time goes by I find that choosing one language category (my choice: APL/J/K) cannot accurately describe the tool set I use.

As example, I just solved and re-solved problem 093 (arithmatic expression), using a basket of language / tool in pipeline. Here's how:

1. Prolog, generate permutation of digits and operators, combine to give RPN expressions |
2. dc, evaluate RPN expression |
3. gawk and grep, filter for positive integer results |
4. gawk again, obtain continuous integer streak

And don't forget the whole thing is glued by:

5. bash !

Hold on, APL is simply not on the list... Prolog is more natural for these backtracking stuff. And I feel clumsy to re-invent the wheels (RPN, grep, sort ... etc) all in Prolog. Thus resorting to other existing tools is quite a natural idea.

If using a hammer can solve PE question, I won't hesitate putting it on the list.

Imagine if admins have to keep up with such a tool list which could possibly be infinite :(

Jim
Image

User avatar
hk
Administrator
Posts: 9926
Joined: Sun Mar 26, 2006 9:34 am
Location: Haren, Netherlands

Re: New Preferred Programming Language Requests

Post by hk » Tue Dec 12, 2017 10:52 am

jimfan wrote:
Tue Dec 12, 2017 10:03 am
If using a hammer can solve PE question, I won't hesitate putting it on the list.
A hammer is a tool to bash your screen with when your computer is misbehaving.
Image

User avatar
euler
Administrator
Posts: 2938
Joined: Sun Mar 05, 2006 4:49 pm
Location: Cheshire, England
Contact:

Re: New Preferred Programming Language Requests

Post by euler » Fri Dec 22, 2017 12:47 pm

@jimfan: :lol:

I think that members need to keep in mind that Preferred Programming Language is exactly what it says. It is simply an opinion that reflects the language (or language group) that the members feel are best suited to solving Project Euler problems. It's a kind of "dessert island" language list: If you were only allowed to solve every problem with one language, then which one, in your opinion, would it be?
Image
impudens simia et macrologus profundus fabulae

Post Reply