5 ms·
May I jump in to point out that this is not "Twitter's source code". It's their HTML. Source code implies it's a programming language. This is not. This is HTM
by fefe23 5y ago
May I jump in to point out that this is not "Twitter's source code".
It's their HTML.
Source code implies it's a programming language.
This is not. This is HTML, which is a Markup Language (hence the ML in HTML).
There is probably some Javascript code there further down but you didn't look at it.
In common parlance, Twitter's source code is the source code to their web services and backend systems, which is not public.
- grenran 5y agoAuthor needs clickbaits to get clicks
- jbki1121 5y agoI'd say it's fair enough to consider markup as code ("code" in the sense of morse code)
- hoten 5y agoThe browser ui to view this Html has been called View Source for decades.
- booleandilemma 5y ago“Sorry, we don’t hire pedants here”
- ninkendo 5y ago"Have fun with your bootcamp graduates then"
- CPLX 5y agoIt’s the code you see when you view source
- tfvlrue 5y agoI tend to agree with this. My expectation from reading the headline was that it would be code from the backend (which admittedly seemed odd, since that's not public). I can't recall ever seeing someone use the phrase "X's source code" to mean HTML. In my view it's data, not code. Just like you wouldn't call some XML file "source code" -- it's purely descriptive markup. When a browser's context menu says View Source, the word "code" isn't implied. It's the same usage of the word "source" meaning "origin" (as in "cite your sources"). Maybe I'm being overly pedantic, but the phrasing definitely read strangely to me regardless. Speaking as someone who's done a mixture of programming and web development for over two decades.
- paxys 5y agoIf someone starts arguing about this in an interview it would be the quickest no-hire decision ever.
- FatalLogic 5y agoCalling it "Twitter's HTML Source" or "Twitter's HTML Source Code" would be reasonably clear. But just saying "Twitter's Source Code" does imply something other than that, probably non-public backend code, you're right That would make me wonder about the interviewer's experience. That's not a feeling you want to have at the start of an interview
- chayesfss 5y agoAgreed, if an interviewer asked me to look at source code and then opened this up I’d have a good laugh.
- hombre_fatal 5y agoI mean, right clicking my browser shows "View source code". Are we going to giggle about how those dumb browser developers don't know that it's not actually the application server source code, or can we admit it's the source code of the rendered page, a different layer of the stack? Is it really that much of a mistake to shorten "Twitter's [html] source code"? Frankly, I think a bigger pedant could come in here and correct you.
- ZephyrBlu 5y agoI don't know what browser you're using, but in Brave it says "View page source" not "View source code".
- disqard 5y agoAt least one major researcher studying programming (and how people learn to program) would agree with you! Check out Alan Blackwell's "What is programming" paper from 2002. In it, he argues that we should not be asking "is writing html programming", because that question comes from an older (past overdue for revision) mental model of what programming is all about.
- fortran77 5y agoTo web people this is "source code." It's what you see when you say "view source."