HackerLangs
TopNewTrendsCommentsPastAskShowJobs

gibibit

no profile record

comments

gibibit
·2 bulan yang lalu·discuss
Not "literative" programming, but "literate" programming. The official Knuth page: https://www-cs-faculty.stanford.edu/~knuth/lp.html
gibibit
·tahun lalu·discuss
I still can't believe how slow MS Word is to load a .docx document of about 150 pages of text, you can watch the page count in the status bar grow over a period of 10 seconds or more as it loads/paginates it.

On the plus side, it's nostalgic and reminds me of the old MS Word 6 on Windows 95 (or Windows 3.1?) so that's nice.l
gibibit
·tahun lalu·discuss
For reference, Rust provides a similar experience

    let names = ["Peter", "Julia", "Xi"];
    names
        .map(|name| format!("Hello, {name}"))
        .iter()
        .for_each(|greeting| println!("{greeting}! Enjoy your Rust"));
gibibit
·tahun lalu·discuss
It seems that each software design/development system, ideology, and practice has a good reason it was created, and has certain inherent benefits. Each may solve (or at least help with) some common problem.

For instance, abstraction is good and short methods are good to some extent (who wants to read a 2000-line function?), but as John points out in the article, these can be taken too far, where they create new and perhaps worse problems.

It seems there's a pendulum that swings back and forth. We go from big up front design, to Extreme Programming, to a pervasive object-oriented design culture, back to other paradigms.