• raubarno@lemmy.ml
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    2 years ago

    I’m gonna send you a reply to your article some time later. I am too tired right now.

    My short review is that you want to separate the backend from the frontend. Backend processes your request and emits a JSON response. Frontend, be it CLI, web client or a smartphone app, just sends your request and shows the response in a human-friendly way. I did it in a similar fashion for my project.

    I just looked up into my search history and saw I am either:

    1. not confident with the website address I remember;
    2. looking for an API documentation;
    3. looking for some real-world projects (when choosing one of several frameworks/ways of doing things);
    4. confused AF and needy for hints (especially for large problems or life/long-term choices);
    5. looking for images/visual ideas;
    6. looking for what my old friends do now (am I a boomer?).

    Well, for the last two I cannot think of any solution. Problem (2) can be substituted with in-reference search (cppreference.com, lib.rs, docs.rs, developer.mozilla.org). However, sometimes I want to be sure that I am using the real link to the real thing, not the scam one. For example, I sometimes want to get access to the official latest GLSL specification, or sometimes overhyped people tend to name things by their marketing brands. Like, I ask ‘What is X?’ (WhatsApp, for instance) and I get a response ‘X is … just X, it’s really good’ and when I need to find what is X, I usually search on Wikipedia, because on the web search I would only see the promotions of X.

    (I’m out, wait for chapter 2)