What's a web browser?
... serioulsy what's a browser?
I would define a browser as an ecosystem of multiple interpreters with the goal o presenting a web page.
An interpreter?
Yes, like Python, Lua ... Uh no... sorry not like that... since the those interpreters are not afraid to show that you made a error while a browsers hide your errors
A good browser is a browser who can work with partial, missing, buggy infomations
Here is a simple example
<HTML>
<HEAD>
<BODY>
<h1>hi All
This code not only works without errors but also get fixed in realtime in this, without any alert of error :
<html><head>
</head><body>
<h1>hi all</h1></body></html>
A browser is a ecosystem of interpreters who call is to show a web page whatever is buggy, full of problem ... the browser will show something if he can ... it will triggers an error as last last last thing before trying anything to fix it.
Let me add here an other point... the browsers are multiple each one with different interpreters for the same language. Nowadays most of the browsers are based on Webkit but still not all browswer and they do still have custome codes.
Each browser may have some differences from on to another
That's ok... we can still make great apps if we know what we are facing.
This is a series of post that I decided to do about web and technology... I hope you enjoy it
Top comments (0)