Live data from Hacker News

Ask HN: When was the last really transformational idea in programming languages?

news.ycombinator.com

21–30 of 53 posts

Re: Ask HN: When was the last really transformational idea in programming languages?

#21
post #19

What about javascript's dynamic object model, where the objects can be changed at run time? I don't think this was possible earlier on, can't remember if this was possible in smalltalk or self? The idea of the DOM? Both mid 90's

Javascript's design owes a lot to Self. Modifying an object's slots in realtime was pretty much the whole point of Self and what lead to the concept of a prototype language. (Well, technically, I think Self was simply an implementation of the already-existent prototype language idea... but is an idea actually useful before there's an implementation of it to test theories with? Chicken-egg... :))

The DOM (as in Document Object Model defined by W3C) has nothing to do with Javascript - it's just an API originally designed for accessing the various parts of HTML. It was set up so that it could be implemented for almost any language. In fact, had it actually used some of the more advanced (Self-inspired) features of Javascript within the definition of the DOM, the DOM may not have been such a pain in the ass. :)

What Javascript did manage to do that was very important is that it ended up becoming not only the most installed programming language of all time, but unlike BASIC, it's actually a pretty damn good language under the covers. So if anything, the fundamental innovation of Javascript within every browser has basically yielded another BASIC-like inspiration to a whole new generation of programmers. Except this time, their intro language was much more abstractly powerful.

Re: Ask HN: When was the last really transformational idea in programming languages?

#22
post #15
post #8

Two things that I'd probably call just features of OO languages, but seem significant: - Type-safe generic programming - Introspection

both these are outgrowths of C++ features - templates and rtti, which I saw first in the early 80's but were probably around earlier.

I'm not sure when type-safe generics came on the scene (perhaps that was C++), but introspection/reflection has been around since Smalltalk at least.

Re: Ask HN: When was the last really transformational idea in programming languages?

#23
post #15

Earlier quoted context omitted.

both these are outgrowths of C++ features - templates and rtti, which I saw first in the early 80's but were probably around earlier.

I'm not sure when type-safe generics came on the scene (perhaps that was C++), but introspection/reflection has been around since Smalltalk at least.

Wikipedia says Ada:

http://en.wikipedia.org/wiki/Generic_programming#Generics_in...

Re: Ask HN: When was the last really transformational idea in programming languages?

#24
I'm not a language connoisseur so don't know if this meets your paradigmatic quality test and it's kind of old, early 80's, but significant indentation as popularized but not invented by Python. http://python-history.blogspot.com/2009/02/early-language-de...

I believe it is a large factor of why Python has/is gaining mindshare in technical but non-programmer fields, education, science. If true and continues seems transformational to me.

Re: Ask HN: When was the last really transformational idea in programming languages?

#25
I've been working on something for a while that I think could represent a fundamental shift in constructing software. It's essentially an environment that takes collections of nodes and assembles them into self-defined constructs. Since there's nothing more than these simple key-value nodes, anything that is created is a matter of cloning an existing node, removing one, or setting the nodes state. There's no textual syntax besides operators in expressions. I haven't published the results yet, but if you're interested in finding out more, feel free to email me.

Re: Ask HN: When was the last really transformational idea in programming languages?

#26
post #16

type inferencing as used in haskell et al, that's a fairly recent development - early 90's/late 80's? Category theory is another perhaps - it's from the 40's but it's application to programming is new - 80's perhaps?

I suspect the Hindley-Milner type inference algorithm probably showed up in the early 80's, since ML had it, and I was taught Standard-ML in the 84ish timeframe.

Of course there may be pre-ML work predating even that.

Re: Ask HN: When was the last really transformational idea in programming languages?

#27
Alan Kay has been asking this question for a long time now. His "Viewpoints Research Institute" is doing some interesting work in this direction.

http://vpri.org/

One of their projects is to see if they can build a complete software stack -- from the OS through the GUI and networking/graphics libraries to end-user software -- all in 20,000 lines of code total.

They have already made some major progress in the past few years. I highly recommend reading (or skimming) their progress report from last year. In addition to being quite impressive, it also has several cool ideas that I had not seen directly before:

http://www.vpri.org/pdf/tr2007008_steps.pdf

Re: Ask HN: When was the last really transformational idea in programming languages?

#29
post #16

type inferencing as used in haskell et al, that's a fairly recent development - early 90's/late 80's? Category theory is another perhaps - it's from the 40's but it's application to programming is new - 80's perhaps?

"type inferencing as used in haskell et al, that's a fairly recent development - early 90's/late 80's?"

According to the wikipedia page (http://en.wikipedia.org/wiki/Type_inference#Hindley.E2.80.93...), it dates back to 1978

Post reply on HN