News for hackers. Stuff that matters.
Re:Wasp – A programming language that understands what a web... by withinboredom on Monday July 26, 2021 @11:51AM (#27960966)
Only a JavaScript thing would say “this is alpha quality” and then a few lines later say “you can deploy a production ready thing with it”

But in all seriousness, this is pretty cool.

Re:Wasp – A programming language that understands what a web... by mark_l_watson on Monday July 26, 2021 @06:15PM (#27966162)
The implementation is in Haskell, which makes sense, but after looking at the code, I don’t think my Haskell skills are good enough to work on the implementation.

I like that the generated code and assets are human readable, so if you decide to stop using Wasp, it looks like you could just maintain the generated code.

Re:Wasp – A programming language that understands what a web... by willio58 on Monday July 26, 2021 @04:09PM (#27964739)
The project page at https://wasp-lang.dev/ is much more informative, I had no idea what wasp is trying to accomplish by reading the README.
Re:Wasp – A programming language that understands what a web... by remram on Monday July 26, 2021 @12:26PM (#27961434)
What is the advantage of an entirely new language, when you can use decorators or other DSL-like constructs like Rails' on top of existing general-purpose languages?
Re:Wasp – A programming language that understands what a web... by blacktriangle on Monday July 26, 2021 @01:57PM (#27962731)
In this case based on them targeting node/express on the backend and react on the front, the advantage is that you can create a language that is easily-ish translateable into Javascript.

The problem with using a Ruby or other language DSL is that since you're giving the developer full access to the programming language, you now have to also support translating the full scope of the programming language into Javascript.

One might then say just make it a JS framework except that JS syntax doesn't lend itself to these kinds of DSLs the way Ruby and several other languages do.

Re:Wasp – A programming language that understands what a web... by remram on Tuesday July 27, 2021 @11:40AM (#27973737)
> translateable into Javascript

I didn't realize this was for web app frontend. This is not mentioned in the repo, in fact the README seem to indicate otherwise:

> Concepts such as app, page, user, login, *frontend*, production, etc. are baked into the language

Re:Wasp – A programming language that understands what a web... by cyanydeez on Monday July 26, 2021 @10:18PM (#27967894)
the detaios presented on the main page look like they are basically creating a dsl based around typescript, then exploding that into existing frameworks.

its a code generator, which will feel nifty, but as soon as any idea you have needs real coding and the dsl isnt prepared for it, so long dsl or hello magical routines.

somewherd in q0 years therely be a dev cursing these guys build script with limited documentation andmumbling to himself "it reads fine...it reads fine..."

Re:Wasp – A programming language that understands what a web... by blacktriangle on Tuesday July 27, 2021 @08:53AM (#27971803)
The value prop of this does seem really wierd. So you accept a limited DSL in return for eventually being able to target multiple web stacks...but the point of this is to abstract away all those web stacks? I really don't get it.
Re:Wasp – A programming language that understands what a web... by enos_feedler on Monday July 26, 2021 @05:45PM (#27965883)
What can a platform do when it understands a web app?
Re:Wasp – A programming language that understands what a web... by eyelovewe on Monday July 26, 2021 @06:08PM (#27966098)
Are there more backend options than node?
Re:Wasp – A programming language that understands what a web... by waynesonfire on Monday July 26, 2021 @08:20PM (#27967172)
wasp.. white anglo-saxon protestant, good luck with that. i bet their main branch is 'master'. I'm not even going to check though.