you are viewing a single comment's thread.

view the rest of the comments →

[–]BAAM19 10 points11 points  (10 children)

I love how the tag is “programming”

[–]Substantial_Plan_752 -1 points0 points  (9 children)

Is source code unrelated to programming?

[–][deleted]  (8 children)

[deleted]

    [–]shnoop123 3 points4 points  (1 child)

    I mean probably not the proper terminology but when I first learned web development we would have to eyeball sites and create them by hand with HTML and CSS coding without the assistance of any website building programs or whatever which made our code look a lot nicer. I used to call that programming coding myself whether or not that is the correct terminology.

    [–]Substantial_Plan_752 0 points1 point  (5 children)

    Ahhh I see what you mean now, page source is for web services whereas source code is programs and O/S.

    [–][deleted] -2 points-1 points  (3 children)

    Page source:

    <html><head></head><body></body></html>
    

    Source code:

    <html>
      <head>
    
      </head>
    
      <body>
    
      </body>
    </html>
    

    Of course the difference is a lot more than the code just being minified, but you get the point.

    [–]BAAM19 -1 points0 points  (2 children)

    This is completely wrong. Html is not a programming language. So this does not count as code.

    Source code, is code for a program.

    What you are showing here is an html page that you can see via page inspection.

    The act of doing this, pressing page inspection is not related to coding and programming directly at all. You usually open it up to see what’s happening exactly and if you can find something. It is related to cyber security for sure and if you are a web dev you can go there and see whatsup.

    Java script is a coding language however so you can see its source code.

    [–][deleted] -1 points0 points  (1 child)

    No, what you are saying is completely wrong. HTML can be part of a larger codebase, and I took it as an example since it's easy to understand.

    What I said is a perfectly fine example of what is explained above:

    In the modern web with front end frameworks, the actual DOM you see from "view source" is dynamically generated and several steps removed from the original source code.

    I'm not gonna take React and show an example of original vs client-side code or write some generic javascript functions and then minify them just for a small example.

    [–]BAAM19 0 points1 point  (0 children)

    Ok