Just to clarify, I google a lot while coding, but one thing I learnt from my engineering degree is that is there is no ‘best’ solution.

  • pixeltree@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    30
    arrow-down
    1
    ·
    2 days ago

    “Coding” vs “programming” is such a great litmus test for whether someone actually knows what they’re doing

      • ulterno@programming.dev
        link
        fedilink
        English
        arrow-up
        6
        ·
        edit-2
        1 day ago

        By definition, it is a markup language, but I have seen recently that it has a few elements that kinda feel like programming.

        Though you do tend to require some JS to complete the logic.


        On the other hand, just because someone uses a non-programming language, does not surely make them not a programmer

          • ulterno@programming.dev
            link
            fedilink
            English
            arrow-up
            0
            ·
            20 hours ago

            It’s nice to be the case.

            But doing all the programming in CSS is too hard for a on-shot hobby-site maker like me.

        • Dr. Moose@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 day ago

          Writing html is absolute programming in 99% of the cases. You program the structure of a web page, even more so if you use templating or integrate structure with js functionality.

          • ulterno@programming.dev
            link
            fedilink
            English
            arrow-up
            3
            ·
            22 hours ago

            program the structure of a web page

            In a loose sense, yes.

            But then someone could also say that when making LATEX templates is programming the structure of the documents.

            I prefer calling it markup, because, even though people might prefer calling it ‘programming’, due to people’s high esteem perception of the word, if you look at it from a neutral standpoint, markup is a word that represents the actual work, much more closely.

            e.g. I use Qt Designer[1] to create UI stuff, and in some cases QML[2] and if I were to only be defining placements, shapes, sizes and colours of elements, I would like to call that part as marking-up the UI [3], while the part where I define functions, timers and connections would be the programming part.


            1. which is a UI to create UI stuff, which creates an XML definition of the final UI to be generated ↩︎

            2. which is based on JS ↩︎

            3. of course I don’t because nobody would understand, but if people did care about the word (and I kinda like the word), it would be more accurate ↩︎

            • Dr. Moose@lemmy.world
              link
              fedilink
              English
              arrow-up
              2
              ·
              22 hours ago

              tbh I see a philosophical problem of separating markup from programming. Creating object structures be it in Latex or html is essentially the same thing as creating code objects. Most high level programming is more about structures and “placing things around” than people like to admit and that’s 90% of all programming today.

              • ulterno@programming.dev
                link
                fedilink
                English
                arrow-up
                2
                ·
                edit-2
                20 hours ago

                Most high level programming is more about structures and “placing things around” than people like to admit and that’s 90% of all programming today.

                Although I’d like to say, “it’s not”, that definitely is what takes up most of my time, even though it ends up being lesser part of the code (thankfully). But a lot of that is UI designing and deciding what might give a better UX, rather than programming.

                Of course, if I were not using a framework, which does all the painting for me, I would always be programming the UI and that would be 90% of my code and 99% of my coding time.
                Also, I would probably take a year to complete a weekly project.


                In my dictionary, programming for the UI elements has been done by those, that created the library that parses the markup language and does the paint events. They also have to manage number of separate draw calls and other GPU efficiency stuff, making it easy to just define most of he placements using markup.

        • ulterno@programming.dev
          link
          fedilink
          English
          arrow-up
          0
          ·
          1 day ago

          In industry no one gives a shit.

          Not “no one”, but most, yeah.

          Also, most around me don’t care at all about absolutely anything as long as they get the $$$.
          And why should they? It’s not like they are going to use the software. It will probably be replaced again, by the next big thing, 5 years down the line.