News for hackers. Stuff that matters.
Re:Princess: Coding Like Royalty by sethrin on Thursday February 08, 2024 @11:24AM (#39303858)
I'm not seeing any related documents that explain what the goals and rationale for the project are.
Re:Princess: Coding Like Royalty by josephg on Thursday February 08, 2024 @12:07PM (#39304468)
I agree. Why should I care that this exists? Does it correct a flaw in zig / rust / C / Nim / Dmd? Does it explore the space of programming languages? (And if so, what’s actually new about it?). Or is it a way for the author to noodle around with their own programming language?

I have no objection to any of those goals. But it would be nice if the author were clear about what they’re doing with the project.

Re:Princess: Coding Like Royalty by fluidcruft on Thursday February 08, 2024 @11:52AM (#39304265)
The top left corner gives the hint "A modern C-like Programming language with focus on structural typing." Not sure what "coding like royalty" is meant to mean honestly. To me royalty conjures useless rent-seeking incompetent cruft that sits on their ass and extracts value from their subjects.
Re:Princess: Coding Like Royalty by rob74 on Thursday February 08, 2024 @12:09PM (#39304499)
When I read "coding like royalty", the first thing I thought of was "let others do the coding for you". But in that case, you wouldn't care about the programming language...
Re:Princess: Coding Like Royalty by bigbillheck on Thursday February 08, 2024 @12:07PM (#39304470)
> Not sure what "coding like royalty" is meant to mean honestly

C, but the headers have all been removed.

Re:Princess: Coding Like Royalty by 082349872349872 on Thursday February 08, 2024 @01:56PM (#39305988)
If this language is "coding like royalty", does that make no-code systems "coding for the cream of society"? (because they're aimed at the rich and thick)
Re:Princess: Coding Like Royalty by worksonmine on Thursday February 08, 2024 @11:28AM (#39303941)
A princess doesn't have to explain herself.
Re:Princess: Coding Like Royalty by moffkalast on Thursday February 08, 2024 @12:01PM (#39304378)
Can't argue with that logic alright.
Re:Princess: Coding Like Royalty by ysofunny on Thursday February 08, 2024 @12:14PM (#39304582)
I'd be interested in a joke programming language that mimics the modern tone and language used by living royals to order food or ask for trips in their private travel infrastructure and so on.
Re:Princess: Coding Like Royalty by rob74 on Thursday February 08, 2024 @12:15PM (#39304594)
Something along the lines of https://aloneonahill.com/blog/if-php-were-british maybe?
Re:Princess: Coding Like Royalty by kej on Thursday February 08, 2024 @12:30PM (#39304839)
More like this story on the same site, maybe? https://aloneonahill.com/blog/the-disney-princess-desk-proje...
Re:Princess: Coding Like Royalty by pjungwir on Thursday February 08, 2024 @01:14PM (#39305439)
Not exactly what you asked for, but you should look up Chef (not the devops tool). It was part of an MIT Mystery Hunt one year. You could certainly write the recipes with a royal style.
Re:Princess: Coding Like Royalty by ysofunny on Thursday February 08, 2024 @02:17PM (#39306248)
this one? https://esolangs.org/wiki/Chef

the closest thing to what I had in mind, thanks to another reply, is british PHP

Re:Princess: Coding Like Royalty by trealira on Thursday February 08, 2024 @03:40PM (#39307384)
I tried thinking of a programming language syntax that sounded like Elizabethan English, but I think I only succeeded in making a weirder version of COBOL or ALGOL.

Edit: moved to pastebin here: https://pastebin.com/41irVBJs

Re:Princess: Coding Like Royalty by countWSS on Thursday February 08, 2024 @01:10PM (#39305380)
Some notes(might be controversial): 1.Princess will clash with lots of stuff, e.g. anime and fiction, making it harder to search code. Pick something more unique, even any princess name would be better and not lead to wrong associations."Coding like ro yalty" isn't that great of a slogan either.

2.Make a comparison table to showcase differences Princess/C/C++/Zig/Rust/FreePascal its hard to understand the selling point compared to using plain Clang.

3.More examples of functions,objects, metaprogramming, common algorithms to showcase something (Rosetta Code examples would be perfect).

Re:Princess: Coding Like Royalty by captaincrowbar on Thursday February 08, 2024 @02:12PM (#39306179)
It can't be any harder to search for than C.
Re:Princess: Coding Like Royalty by RangerScience on Thursday February 08, 2024 @03:04PM (#39306913)
C's name predates internet searches sooooo it could not have been chosen with that in mind.
Re:Princess: Coding Like Royalty by grodriguez100 on Thursday February 08, 2024 @03:02PM (#39306878)
Related to item 2:

4. Explain what problem is being solved. Why does this exist at all? What is the value proposition?

A comparison table helps of course but I wouldn’t even look at that unless I can “buy” the value proposition first.

Re:Princess: Coding Like Royalty by muricula on Thursday February 08, 2024 @01:29PM (#39305609)
What is this language's approach to memory safety?
Re:Princess: Coding Like Royalty by deusum on Thursday February 08, 2024 @02:22PM (#39306314)
Execute the function correctly, or the Princess will have you executed.