MIT Unifies Web Development In Single, Speedy New Language 194
itwbennett writes: A new programming language out of MIT, called Ur/Web, provides a way for developers to write pages as self-contained programs. It incorporates many of the most widely-used web technologies, freeing developers from working with each language individually. Ur/Web's author, Adam Chlipala, an MIT computer science assistant professor, will present his work next month at the Association for Computing Machinery's Symposium on Principles of Programming Languages. He says, "In Ur/Web, everything is based on transactions, where a single client request is handled by what looks like an uninterrupted execution of a single function. The language implementation has optimizations in it to support running many requests in parallel, on real servers. But the programmer can pretend everything is a transaction and think in a simpler concurrency model."
Haxe (Score:3)
Re: (Score:2, Funny)
If I am not mistaken you can do the same thing in Haxe, and that includes Flash development as well.
Is that a feature, or a bug?
Re: (Score:2)
It's not required, no. At least not anymore, not sure if it used to be. The self-contained installer [haxe.org] is sufficient to develop with.
Re: (Score:2)
Re: (Score:2)
Not any more it's not. And it never was with anyone who had a clue. Flash based web sites always were and always will be shit.
Re: (Score:2)
So closed-minded... (Score:3)
It takes 2 clicks on Haxe's site to see it can be used with lots of different kinds of client and server code. Flash is mentioned as an "also, haxe can make swfs" http://haxe.org/use-cases/web/ [haxe.org] (despite Flash being a huge part of Haxe's maturing development) http://en.wikipedia.org/wiki/H... [wikipedia.org]
Flash development and ActionScript as a language were never "shit". It certainly was abused and mismanaged, but technologically Flash/AS was amazingly useful -- especially in tying animation to code.
If you ever are
Finally! A single language! (Score:5, Funny)
Obligatory XKCD. [xkcd.com]
freeing developers from working with each language (Score:3, Funny)
Re: (Score:2)
This particular xkcd strip has been referenced so often at this point that I think we can just write "xkcd 927" without even linking to it.
W3C, please. (Score:2, Interesting)
I'm really sick of languages that are going to solve all our so-called problems. We can't even get web developers to properly adhere to W3C standards. Now, you expect developers to implement stuff in the browser that's effectively a massive JavaScript runtime? The problem with web development isn't the languages we use, it's the way in which they're used. People are trying to hijack the browser to be an application delivery platform and failing to adhere to the W3C specifications. This breaks the open, sema
Re: (Score:2)
I'm really sick of languages that are going to solve all our so-called problems.
Languages have already solved for us the problems of numerically addressed storage, register allocation, memory allocation, compound data types, structured control flow, genericity/polymorphism of pieces of code etc. etc. Virtually all - if not all - pesky problems in day-to-day programming have been solved by appropriate language design. Why shouldn't a language solve the problem of concurrency and distributed applications?
Re:W3C, please. (Score:4, Insightful)
Why shouldn't a language solve the problem of concurrency and distributed applications?
Because this can only be effectively answered by the application?
Language does not enable non-trivial problems to scale out... application architecture enables this and concurrency is of the same coin.
Re: (Score:3)
Re: (Score:3)
Except that both languages and "application architectures" are, so as to speak, both based on usefully constraining the set of valid programs.
Sorry I don't understand what this means. If you design a data schema that can't scale no language selection, amount of clustering, sharding, money or associated BS is going to be of much help... this is just reality.
Only when machines become smart enough to do the designing will this ever change. Computers can do a lot on the margins but ultimately if you want scalability and performance in a non-trivial problem space YOU will have to work for it.
In the long run, though, stuff tends to move into languages, among other things because it allows checking of correctness at the earliest possible moment during development.
What does constraint validation have to do with scalabilit
Re: (Score:3)
Except that both languages and "application architectures" are, so as to speak, both based on usefully constraining the set of valid programs.
Sorry I don't understand what this means. If you design a data schema that can't scale no language selection, amount of clustering, sharding, money or associated BS is going to be of much help... this is just reality.
This is true, but it does not lead to what you are claiming. A data schema (in a very general sense that goes beyond relational schema or XML data schema or whatever) might or might not scale (either by poor design choice, or by design).
But that schema will depend on specific concepts and assumptions that will be best realized with a specific family of technologies (or even a single one.) It would be possible (but very hard and stupid) to try to implement a relational data schema with a document-oriented
app specific problem =/= app specific solution (Score:4, Interesting)
With that said, I disagree with this:
Why shouldn't a language solve the problem of concurrency and distributed applications?
Because this can only be effectively answered by the application?
An application can only effectively address such challenges when using the appropriate levels of abstraction. And by *appropriate* we mean not just appropriate in the level of high (or low) level features, but also in the amount of resources that are required to construct a system with the right synergies between application and supporting (underlying) platforms.
For instance, having an actor model supported as a language feature help application domain developers exploit (or create) the necessary abstractions for concurrency far more economically than using an actor model developed from scratch (or as an add-on framework)... at least for applications whose concurrency requirements are best served with an actor model over more low-level constructs (locks and shared resources)
Or think fault-tolerance. A language that has concepts such as a valves as actual language or run-time features is far more valuable for developing certain classes of fault tolerance systems than languages or runtimes that do not have any (a reason why most systems are not equipped with any means of throttling to cope with partial failures.)
Language does not enable non-trivial problems to scale out... application architecture enables this and concurrency is of the same coin.
Resource-efficient realization of an application architecture into a design and implementation are highly dependent on the language and run-times of choice.
Re: (Score:2)
http://www.brainyquote.com/quo... [brainyquote.com]
Wake me up when you have something falsifiable to say.
Re: (Score:3)
I'm really sick of languages that are going to solve all our so-called problems.
I'm sick of languages that were going to solve all problems but then didn't.
In web development, there's still room for one language that's half-ways good.
Re: (Score:2)
I'm fine with two good languages, but let's start with one.
Re: (Score:2)
Is it so wrong to believe in different languages for different things? It seems crazy to try and create one tool that does everything just so developers can be lazy or negligent.
It's wrong if you're lazy or not very smart - because you want a language that saves you having to actually do anything. You've only got to look at the shit that passes for web development on some sites to see that there's no shortage of those sorts of people working in the industry.
Re: (Score:2)
Frankly, the w3c standards are crap.
If you people put as much effort into learning how to use the tools you have as you do into making excuses about why you can't use them, you might actually get some useful work done.
The bigger question IMHO (Score:5, Interesting)
Ur/Web is a Functional Programming language like Haskell, F# and the like. The performance gains are real -- both in numbers of coders and execution, but the larger questions remain:
Do we want compiled web languages? Why exactly? Not only does this introduce a compilation layer to the development workflow, but it introduces millions of "black boxes" into a once open and readable landscape. While there may be gains in code protection, there will also likely be losses in flexibility.
And of course, is it all worth the effort?
Re: (Score:2, Interesting)
Compiled web pages are coming one way or another. All web servers are working on it in the next version of http protocol for binary implementation and all web browsers are concurrently working on this as well. It should speed up the net substantially as less traffic will be needed. The issue I have with it is the development of it in that they would have to setup half of their code to make sure it works in all client web browsers. I love and hate javascript for that very reason. JQuery is making it a bit b
Re: (Score:3)
The newer protocols will reduce latency. See http://www.chromium.org/spdy/s... [chromium.org]
Re: (Score:2)
The compiler could easily create a search engine friendly file that presents the page information for indexing and browsers are being presented with standard HTML so accessibility is not an issue.
Gains in productivity from development teams, middleware that will compile and publish all released code, the obvious benefits from compile time checking of variables, arrays, etc. will probably offset the loss of flexibility of the development channel.
Re: (Score:2)
frankly, I've never wanted to look at it anyway.
Hmmmm, I'm just guessing here, but you seem like a person who doesn't want to look at HTML.
Ooh, I Have An Idea! (Score:5, Insightful)
Re:Ooh, I Have An Idea! (Score:4, Funny)
But then how would you run it in a browser?
Re: (Score:2)
Re: (Score:3)
Which version of JS?
Re: (Score:2)
Re: (Score:3, Insightful)
HTML guis are complete shit.
The architecture sucks, the design sucks, the developers suck.
HTML is only widely used because it's widely used.
Re: (Score:2)
+1
HTML was never intended as an application delivery platform. Its been stretched to breaking point and then some.
Re: (Score:2)
"HTML guis are complete shit."
Only because those making the HTML GUIs are coders, not UI/UX people.
Re: (Score:2)
That's how i feel too. However, i'm a computer nerd and have been for 35 years, and i suspect that makes me a bit different from average users. While Gnome 3 irritates me a lot (as do all other desktops, incidentally), i can see the point of it - and it's not aimed at you or me.
Re: (Score:2, Insightful)
Speak for yourself. Hating on HTML and web tech because you're bad at it is the lamest of the lame excuses. My users much prefer our HTML GUI over our shitty old desktop apps, especially the whiz-bang desktop widgets and godawfully inconsistent native apps we used to have across devices and ESPECIALLY our "cross platform" Java app.
It turns out that just having a simple button-based touchscreen app is good enough, and being able to access it from their Windows work box, OSX at home, and their phones/tablets
Re: (Score:2)
Stop making excuses and learn how to do your job and you'll be happier too.
Too right! There's a lot of whining on slashdot about this sort of thing. As soon as you see it, you know the writer's just incompetent and blaming their tools.
Re: (Score:2)
HTML is widely used because it gets developers around all the distribution and security issues of distributing real compiled software to their users.
Re: (Score:2)
HTML is only widely used because it's widely used.
HTML is only widely used because there is no other way to get your content to a large audience.
Try again. (Score:2)
If we could take the ego out of invention the profs might realize that *another language* is not what is needed.
Understanding the languages we're using... that's what's needed.
Re: (Score:2)
Well thank goodness (Score:5, Insightful)
Frameworks (Score:3)
This is what frameworks are for.
There are thousands of different frameworks for various languages to accomplish effectively the same thing with the benefit of using an already established web language (PHP, Node, Python, Java, etc. etc.)
Re: (Score:3, Insightful)
I really hate using frameworks. They're fine as long as you use them for their limited purpose-set, but step outside the walled garden and your delving into a wilderness of minified spaghetti coded black boxyness whipped together over a weekend by people who weren't really interested or most likely able to envision different requirements.
And yes I include JQuery in this. Just learn friggin javascript already, it's not that hard.
Re: (Score:2)
And I don't like people who do not grasp the difference between a framework and a library.
Hint: JQuery is not a framework.
Re: (Score:2)
I recommend Django to you. It seems to be written by clueful folk who care about things like backwards compatibility and fixing the small broken things rather than throwing it all away for the next version. As a bonus, it's not PHP.
Question? (Score:2)
Don't try to abstract a web page (Score:4, Insightful)
Re: (Score:2)
Frames in 2014 (Score:5, Informative)
The demo site uses frames. FRAMES. I think this is unlikely to catch on.
Re: (Score:3)
Re: (Score:2)
The demo site uses frames. FRAMES. I think this is unlikely to catch on.
It might be the xmas timing, but this gives me a warm fuzzy feeling. I only wish they'd design the main.html page using tables for formatting.
Re: (Score:2)
This is the researcher's website. A RESEARCHER. Who cares if he sucks at web design? Ur/Web can generate any HTML you want.
Frames in 2014 (Score:2)
speed is good (Score:5, Interesting)
Cures whatever ails ya (Score:4, Funny)
From TFA:
Not only do they not crash during particular page generations, but they also may not:
- Suffer from any kinds of code-injection attacks
- Return invalid HTML
- Contain dead intra-application links
- Have mismatches between HTML forms and the fields expected by their handlers
- Include client-side code that makes incorrect assumptions about the "AJAX"-style services that the remote web server provides
- Attempt invalid SQL queries
- Use improper marshaling or unmarshaling in communication with SQL databases or between browsers and web servers
Cures whatever ails ya. Works even better than snake oil! But wait, there's more. For just $19.95, we'll design two new web programming languages. Just pay separate shipping and processing.
Re:Cures whatever ails ya (Score:5, Insightful)
The author has worked on SML/NJ internals, has a strong background in type theory [chlipala.net], and has written similarish software in the past [hcoop.net]. I'd say he was able to solve those problems. Those problems are not even particularly complicated to solve once you have an expressive type system.
Anyone here qualified to comment? (Score:5, Interesting)
I'd really like to hear from someone outside of academia who thinks this is useful. I've been programming in C-like languages ever since I graduated college 25 years ago, but my degree is in EE, not CS. The language definition is complete gibberish to me, containing solid pages of a mathematical notation that I've never before seen. Likewise, I have a very hard time following the demo code. I don't really feel qualified to evaluate it.
I do see some red flags, though. First, since the language spec is given in such an abstract notation I have a feeling that it's going to be very difficult for code monkeys like me to refer back to. I normally reach for the language spec or the official docs when I have a question, but neither are going to do me any good here. Similarly, the tutorial starts out by describing the similarities and differences between Ur and ML or Haskell. That'd be a lot more useful if I'd ever used either of those two languages. The tutorial is incomplete, and what's there never describes Ur on its own without comparing it to the other languages.
Second, the trivial demos look like some PHP variant, while the complicated demos are, well... Complicated. "Hello, World" simply returns a chunk of what appears to be free-form XML; some others return a chunk of XML with a few embedded Ur statements, similar to PHP. The SQL demos show embedded SQL statements. Are the XML and SQL chunks syntactically part of the Ur language thus checked for well-formedness, or are they just free-form text which get minimally processed to substitute variables before they're emitted? Or is there something else fundamental going on here that I'm missing completely due to my lack of familiarity with functional programming?
Third, the official web site looks like something out of 1995. That's not necessarily a bad thing. It is clean and functional, just really, really utilitarian. I assume the site is done in Ur/Web, and it's clear that the author of the language learned HTML back when Mosaic was the hot new browser. Is the utilitarian look just how the author or site designer does things, or is it baked into the language? How hard would it be to implement something that looks modern? In the same vein it looks like Ur/Web produces xhtml as its output, and it looks like Ur/Web pretty much relies on well-formed XML embedded in the Ur source code. Will it have access to any of the new goodies in HTML5? Or is it going to be obsolete before the first Dummies book can be written?
So if there's anyone here who does real-world web development and has the academic chops to evaluate Ur/Web for what it is, would you please post a summary for us code-troglodytes?
Re: (Score:2)
Its nothing special. The language itself is just yet another functional language variant, like ML, Scala, F#... hell, a lot of it can be done in C# or Ruby if you wanted to code that way. So thats pretty sound, more and more programming is going that way (you can even do a lot of it with the newer C++ specs)
The specs are in math formulas because functional languages tend themselves well to that. I don't have a CS background either, but I've done enough functional programming to be able to infer what they m
Re: (Score:2)
Even then, you'd never want SQL and logic in the same file
I'd hate to see what your SQL looks like.
I think the answer to that is something along the lines of "You can't because it gets generated at run-time, causing all sorts of problems." Scary.
Re: (Score:2)
I'm qualified. No, it's not useful at all. Just another abstraction...
Re: (Score:3)
The language definition is complete gibberish to me...I do see some red flags, though
You don't need a CS background to see the red flags. You don't even have to get as far as the summary.
"Unifies Web Development" - red flag #1
"Single, Speedy New Language" - red flag #2
More worthless languages (Score:2)
In my view presence of domain specific languages throughout data, application and presentation tiers is the source of the platforms power. It's what makes it not suck.
Yes annoying for beginners to have to learn w,x,y and z just to do anything... what is even more annoying is consequences when it comes time to stand up non-trivial systems.
In my view the future of programming will be about the rise of domain specific languages where very little room remains for lies and assumptions generated by glue language
Bah (Score:2)
It's trying to abstract away things like the database and the separation between client and server side. Every attempt to abstract away real things that I have seen has been crap. When you abstract away the HTML and the SQL and the AJAX, it means you can't dig into it for the nitty-gritty. If they finally got it right, congrats, but I doubt they have.
Death by Manual (Score:5, Insightful)
As someone who's been programming since the 1970's, I find it pretty hard to get past this statement in the Manual [impredicative.com]' "We give the Ur language definition in LATEX math mode, since that is prettier than monospaced ASCII".
The author's choice precludes anyone cutting and pasting difficult syntax from the reference manual into their program. Look at page 26. Does any programmer find this useful? Scanning down to the more practical bits, I find;
"The Ur/Web compiler is unconventional in that it relies on a kind of heuristic compilation. Not all valid programs will compile successfully. Informally, programs fail to compile when they are “too higher order.” Compiler phases do their best to eliminate different kinds of higher order-ness, but some programs just won’t compile."
Really? Valid programs may not compile. I wouldn't spend a second learning any programming framework with this fatal flaw.
Re: (Score:3)
This.^
I can't believe I just read that. New debugging cycle including your code might not work because the compiler doesn't like you that day? I felt like that when i was learning to code in C honestly but I'm sure it was rarely true ;-)
A non-deterministic compiler can suck my big fat one and go far far away before the dribble drops.
Tokenization streams forthcoming... (Score:2)
Inherent in the transactional paradigm is tokenization emergent as the exchange currency needed for efficiency. SO this is a first step toward monetization platforms abstracting out the software labor component.
Re: (Score:2)
Sounds like what you are saying is that thhis is a s/w development methodology that is even cheaper than sending out the coding work to a job shop in India.
The next step is a language/compiler that can take chicken-scratches off a whiteboard in a brainstorming session and build production code from it.
How siÄ(TM) tenis different from Clojure/Scri (Score:2)
From someone who's actually used it... (Score:2, Interesting)
Ur/Web isn't easy to use. It's a huge pain to get any program past the type-checker, not just because the compilation errors are hard to understand (though this is a fixable problem, and one that Prof. Chlipala has been working on since I used it, if I'm not mistaken), but because it's always going to be an order of magnitude harder to develop in Ur/Web than in a dynamic language like Ruby etc., especially when you need to use stuff like higher-order polymorphism and functors and other concepts from type t
Re: (Score:2)
Ur/Web has an entire SQL type, rather than representing SQL as strings, so that the compiler can prove that no SQL injection attacks are possible. (It's not possible to accidentally coerce a string to SQL---you'd have to really try.)
That's a problem with sql, no matter what language you use. There are other ways to design a dbms that don't use sql ...
Page Controllers and SQL Databases (Score:2)
Not that there's anything inherently wrong with these technologies, but when your language seems to be based on that way of doing things ... I think the 1990's called.
Thank God (Score:2)
This is what I have been saying all along as holding the web back - two few programming languages.
Now that we have this new language, we can finally move forward.
Sure to be as wildly popular as haskell... (Score:2)
The idea is good. But please, this is not hard to understand. NOBODY is going to learn a brand new language and new syntax unless they're under 22 or they've never learned another language and just stumbled into your new wunderkind.
Make a version of c, basic or Javascript that does the same thing and you have a remote chance of adoption. Make a new version of web erlang and you might as well be jacking off on Mount everest in the dark. You're safe because nobody will ever see it.
Re: (Score:2)
Riiiight. That's why we still use FORTRAN for so much new code.
New programming languages succeed when they:
1. Provide compelling beneifts to some group of developers.
2. Are freely licensed (Java tried to break this rule for a while).
3. Are well documented with both reference and tutorial information in many forms.
4. Are delivered with a stable reference implementation.
5. Are correctly marketed.
I'm old enough that I did CS homework on punch cards, and I've probably learned and forgotten more languages than
Is it a Node.js replacement? (Score:2, Interesting)
0 job postings for a new language is fine. I bet that if you go back far enough, you'll find a time with 0 job postings for Node.js. You could probably go back and find 0 postings for C# at some point. They all started somewhere.
The issue, imo, isn't the start... it's the "one stop shop" that is some how going to "Magically" going to combine at a minimum layers: Database, server, html, css, javascript.
I'd like to see how they handle Chrome vs IE and other incompatibility issues.
Oblig KXCD: http://xkcd.com/9
Re: (Score:2)
I thought people were pretty much ignoring IE these days.
Re:Is it a Node.js replacement? (Score:5, Funny)
HR people are just waking up. By the end of the day, you'll see some looking for 5 years Ur/Web experience.
Re: (Score:2)
HR people are just waking up. By the end of the day, you'll see some looking for 5 years Ur/Web experience.
You're just jealous... there's 1000's of H1-Bs over in India with at *least* 5 years of Ur/Web experience.
I think we have some working for us. The price was right.
Re:Is it a Node.js replacement? (Score:4, Insightful)
Hearing a disturbance, the master programmer went into the novice's cubicle.
"Curse these personal computers!" cried the novice in anger, "To make them do anything I must use three or even four editing programs. Sometimes I get so confused that I erase entire files. This is truly intolerable!"
The master programmer stared at the novice. "And what would you do to remedy this state of affairs?" he asked.
The novice thought for a moment. "I will design a new editing program," he said, "a program that will replace all these others."
Suddenly the master struck the novice on the side of his head. It was not a heavy blow, but the novice was nonetheless surprised. "What did you do that for?" exclaimed the novice.
"I have no wish to learn another editing program," said the master.
And suddenly the novice was enlightened.
This lesson from The Zen of Programming [amazon.com] is as relevant today as it was 30 years ago.
Re: (Score:2)
Besides, everyone knows you should be using Emacs.
No, wait...
Re: (Score:2)
Actually you can use Emacs now indeed, with current memory sizes 'eight megs and continiously swapping' won't happen anymore :)
Re: (Score:2)
Actually you can use Emacs now indeed, with current memory sizes 'eight megs and continiously swapping' won't happen anymore :)
That's actually true. Very good point. And considering there's an Emacs plugin to do pretty much anything and Emacs runs on pretty much every platform, there's really no reason (anymore) to use a different editor for anything. Ow, I think the master just struck me on the side of the head. The master speaks: "Emacs is not an editor, Emacs is an operating system".
(Before the editor wars start anew, this was written somewhat in jest. As a sysadmin I had to support Emacs, but I remain a VI user. And yes,
Re: (Score:2)
Of course Emacs is an operting system! However it lacks a decent editor!
That is why I use vi/vim as well!
Re: (Score:2)
Of course Emacs is an operting system! However it lacks a decent editor!
That is why I use vi/vim as well!
I always thought that was the real reason Emacs had a VI emulator plugin -- because every OS needs an editor.
Re: (Score:2)
What isn't a Node.js replacement?
Re:"Ur" (Score:5, Informative)
"Ur" is a fairly common way to represent an origin or prototypical item of a set, as in a "ur-language" would be the mother tongue from which other languages spring. It seem to be being used in this context to mean more "all-encompassing", or a back to roots type thing, but the meaning still applies.
Why am I responding to an AC troll....
Re: (Score:2)
""Ur" is a fairly common way to represent an origin or prototypical item of a set,"
Oh yeah , in which niche arena is this? I've never heard of it. Seems to me it was meant to be a hipster way of saying Your Web. And it failed. Miserably.
Re: (Score:2)
Yeah , I'm suuuure thats why they chose Ur. Nothing like retrofitting a reason is there? Also someone should tell them the difference between ancestor and descendent because clearly they have no idea.
Re: (Score:2)
Ur could be:
You Are
Your
An acient city in the Sumarian region of the middle east
University of Rochester (New York, not MN)
Might be something to do with bears too (Ursa)
Re: (Score:3)
Looking over the official tutorial pages, the syntax is really different than anything I've done before. It looks hard to learn.
Indeed. And what's with this obsession amongst the functional language developers to try to use the least amount of characters possible? We're no longer in the 1960's where verbose source code took a lot of valuable space.
For example, when I read
fun double n = 2 * n
I see a function called double which implicitly takes a parameter n and returns true if n = 0, and false otherwise. Would it have killed them to separate the parameter from the "body", and used proper names? For example:
function double(n) = 2 * n
Re: (Score:2)
It would have killed them, because (n) is a tuple of one element.
The current syntax has a few benefits. A big one is that you can write things like fun mul n m = n * m; fun double = mul 2; double 4 (* = 8 *);. Automagic currying is good.
Re: (Score:2, Insightful)
double 4 (* = 8 *);
What the fuck is that? a japanese smiley??
Somebody please take this researcher's grant money and give it to someone younger and without a giant pole in their arse.
Re: (Score:3)
(* This is comment syntax in ML-derived languages, like Ur *)
double 4 (* = 8 *)
Is Ur for
double(4); /* == 8 */
Your comment (pun intended) is an example of Wadler's Law [haskell.org]
Re: (Score:3)
It would have killed them, because (n) is a tuple of one element.
It's the same in Python, yet I haven't noticed it killing any Python programmers. Perhaps functional language designers are more fragile creatures.
Re: (Score:2)
You have to get used to that. In functional programming, parentheses are usually used to denote function calls. For eg:
// C // lisp
x = foo(bar(10), 20);
(let x (foo (bar 10) 20)
Re: (Score:2)
You have to get used to that. In functional programming, parentheses are usually used to denote function calls.
I really have tried, but it's just too terse for me.
At this stage I'm pretty certain I won't grok a functional language until someone invents a functional language that doesn't look like some variation of Brainfuck or similar.
Re: Spaghetti (Score:2)
Agreed. If the site was developed in it/web I'll pass. It's easy to avoid browser problems by making everything look like is 1996
PHP = Powerfully Horrendous Programming (Score:5, Interesting)
But seriously seriously: I don't believe that is the approach he is talking about. PHP is a very different beast.
Their choice of a functional programming language is an eyebrow raiser but I understand the reasons why and can even applaud the sentiment for high volume transactional websites. (speaking as an architect with experience of such in the CC industry) I do sort of lament the lack of any OO framework within this (my assumption from article) but perhaps it is not needed as much since most data is from a relational DB. The incongruence between relational data and OO design has always caused problems anyway - obvious in the complexity of frameworks like "hibernate" etc.
And for those that think that OO and functional languages cannot mix need to do a course on multi-paradigm programming like I did.
The CONCEPT has real potential and it will be interesting if and how these (assumedly MIT-smart) researchers deal with the main problem that any "do lots for you behind the scenes" (I am inventing a new architectural pattern here!) frameworks: Sacrificing flexibility of solution for ease of use.
This is where limits are introduced because frameworks are forced to make choices about implementations and those choices have consequences. Implementing an elegant and simple solution with a huge amount of flexibility, easy extension and power is one of those holy grails that I have yet to see ANY framework in existence reach to any degree - there are ALWAYS trade-offs.
Many of these frameworks start off with the claim of "really simple!!" but over time their lack of forethought and the punishing reality of REAL project development (as opposed to the dreams of researchers) causes the language to either be wholly inadequate or to mutate over time into an absolute nightmare.
e.g. Auto hot key STILL makes the claim on their website that they are so easy to use, despite what their language has turned into: http://www.autohotkey.com/
A very good example of this principle in action.
e.g. VB was very productive (for its time) when all you did was use the out of the box stuff the language was designed for. Go off road (which inevitably happens in real projects) and you could enter VB hell very very quickly. Fixing said problem was usually possible but at the cost of a HUGE increase in skill and knowledge which is beyond many of those who picked it for its easy of use.
So the questions I would be interested to find out are:
- How far can you get before the above happens?
- What percentage of typical advanced web app functionality is covered?
- How HARD is it to extend (I assume its possible) and what skills are required to do so?
There are of course thousands of others to answer before I would even consider using this in a real product!