Live data from Hacker News

A list of computer languages with release year and category

codelani.com

11–20 of 82 posts

Re: A list of computer languages with release year and category

#11

Wish it was sortable by date

Closest I could get:

`Array.from(document.querySelectorAll('table tbody tr')).sort((a, b) => { const yearA = parseInt(a.querySelector('td:nth-child(3)').innerText) || 2019, yearB = parseInt(b.querySelector('td:nth-child(3)').innerText) || 2019; return yearB - yearA; }).forEach(tr => { tr.remove(); document.querySelector('table tbody').insertAdjacentElement('afterbegin', tr) });`

Re: A list of computer languages with release year and category

#16

Earlier quoted context omitted.

This is doable with some JavaScript. Paste the JavaScript from this gist [1] in your console while on the web page, and the table will be sorted descending by year. Swap `bValue - aValue` on line 4 with `aValue - bValue` to sort ascending. [1] - https://gist.github.com/bendiksolheim/307a6af9aba2c4360c75b9...

It breaks/stops at rows with blank "appeared".

Floop

document.querySelector('tbody').append(...Array.from(document.querySelector('tbody').rows).map(row => ({ row, year: parseInt(row.cells[2].textContent) || 9000 })).sort((a, b) => a.year b.year ? 1 : 0).map(x => x.row))

Re: A list of computer languages with release year and category

#19
I feel like a geneology of programming languages is also a useful representation. More here: https://github.com/stereobooster/programming-languages-genea...

Would be nice to have an interactive browseable/searchable/sortable graph with additional data such as year of release.

Re: A list of computer languages with release year and category

#20
I don't see Chef [1] which was part of the MIT Mystery Hunt many years ago. If you have ever told anyone that programming and/or algorithms are just following steps like a cooking recipe, you should read about it. I don't think there was even an interpreter back then, so you had to "execute" the program by hand.

[1] https://esolangs.org/wiki/Chef

Post reply on HN