News Score: Score the News, Sort the News, Rewrite the Headlines

Left to Right Programming

2025-08-17 Programs Should Be Valid as They Are Typed I don’t like Python’s list comprehensions: text = "apple banana cherry\ndog emu fox" words_on_lines = [line.split() for line in text.splitlines()] Don’t get me wrong, declarative programming is good. However, this syntax has poor ergonomics. Your editor can’t help you out as you write it. To see what I mean, lets walk through typing this code. words_on_lines = [l Ideally, your editor would be to autocomplete line here. Your editor can’t do...

Read more at graic.net

© News Score  score the news, sort the news, rewrite the headlines