what's up y'all this is Hussein Nasser from IGeometry and today I'm gonna try
to actually record a vlog that's right that's our first vlog and you know each
book has a title and we decided to go with this question right not really a
question but just just a title programming languages write this there's
a free talk about programming languages and try to limit myself to ten minutes
now it's six six 1006 or one or six one zero not Circuit hundred but yeah so if
I can ten minutes we'll try to just discuss about programming languages in
general so the beginning of programming languages are I'm just kidding he'll go
through history but no serious note programming languages from the age that
I learned programming I noticed there are always two pattern maybe three more
programming languages there is always-there client-side programming
languages there is always server-side programming languages have been
scripting languages and there are functional languages that I'm not very
experienced with but it's been used a lot in science and it's gaining a lot of
traction these days functional languages that's the trend
now but until I want to talk about client versus server languages back in
the day like when we in the 90s on even before we tried to
build an application most of the time this application is used by yourself
right it's just used in the same computer so you write an application and
you'll literally just execute etic application on the same machine or it
can give it to someone else and they will use it on the same machine and
we've seen a lot of applications like that right in the 90s where we share
your application we download like scanners and email applications and I've
written a lot of applications that are single based like well basically there
are client application they only work on the same machine and they use the CPU
they are CPU intensive on the same machine they are running on right so I
remember what our application is I would actually take mathematical equation and
we'll draw a graph out of it right so that that was using the CPU to draw the
graph and well basically it wasn't actually written and vb6 so it will only
run on Windows obviously that's another thing what is cost like in general the
programming languages how do how do they compile on which operating system it's
actually exciting right so point language a client-side language
is where basically the visual basic crime the BB then vb.net and then that
wasn't enough right because well write an application that you run for so
that's cool but we start to need to communicate with remote servers right to
execute certain things or maybe to like to connect to using sockets to connect
to remote computers to do other things on that remote like controlling that
room remote machine to do something on that
remote machine and that was fun for the late 90s or the beginning of the 2000s
where we were an application and we will be the server I will not a server
application and the client application the server will listen you'll put the
server application that XE you'll put it running on one machine and you'll have a
list of commands listening a port listening to a port then your client
application which understand how to talk to this server application you'll
connect to port say 1 2 3 4 and you start sending commands that only this
application understand and said the fun or the always fun command was how to
open the CD drive right so it will eject the drive I know it will freak people
out when we do that in the university so we'll look install the server
application into one machine and then from another machine will just write a
command literally to send command which literally calls the windows API which
opens the drive and that was always a fun thing to do on Oh laughs on it so
server client so and out in this case we've written have application using the
same language effectively I Visual Basic Visual Basic right at vb6 in that case
we've written it on the server we've written and decline write the server and
the client using the same programming language right but we kind of created
our own protocol which nobody understood right this is just a port that you open
and then you connect to this port and then you basically do things I lots of
application was authored we're authored in this manner as well where where you
you have a client and a server and and up to this date like databases work the
same way or a cold listen to port one 532 correct
me if I'm wrong Postgres listen is an application the
server running code listening on this port and then you connect to this
application and then basically you you execute commands that the client which
is in this case the Oracle client that's why we have Oracle client and Oracle
server they're effectively earth in the same language but yeah so they are
rather than the same language right then comes the web right so maybe it was
there but I didn't know about the web until what development what what's the
first thing that comes to mind ace be right which is Microsoft it's
essentially baby six I think VB but it's just like having slightly different
syntax but you have to execute that on a web server so there is a will establish
protocol so you can't really listen to your own port and do fancies things you
can still do a lot of thing but that communication is there the HTTP protocol
is already there established for you what does that mean that means that the
client is now has to understand HTTP this is oh well okay visual basic and
HTTP huh how can I teach Visual Basic to talk to HTTP to what wasn't natural this
protocol VB was not designed to talk to HTTP right there are obviously other
things that come after that okay two minutes left but yeah in general Organa
wrap up and soon but yeah VB did or other language wasn't designed to talk
to these languages to these protocols right so they have to
the language that comes natural to HTTP right so that language right was
JavaScript right JavaScript levy script also write JavaScript and VB script like
it came in natural because these are browser based the beauty of those you
don't have to compile them you don't have to have anything you just have to
have literally notepad write your code and then that JavaScript will know how
to communicate with the HTT because it just comes natural because the browser
host the JavaScript application otherwise you will have a new VB
application or C sharp or other languages you'll have to host your own
your own protocol to talk to HTTP right and yeah so PHP became it came very like
it became very popular really PHP in the 90s and early 2000 I don't a lot of
application using PHP BT was the main server side language right you can't run
PHP in the client I don't know if you can but you wouldn't run do so PHP or
write code in PHP and then if you execute certain a page will execute in
the server and then will return something to the client to do something
with it right so again so PHP in the server
people have written PHP the server and then HTML / JavaScript in the clients
until JavaScript has been made by some genius to run on the server and then
we're back to the same cycle where JavaScript we have the same language
running both on the server and on the client guess what not only on the server
and the client it runs everywhere JavaScript runs everywhere literally an
IOT devices mobile phone it's a universal language I saw well I really
like JavaScript Python is a great language not a big fan I have my reasons
but yeah I just I just preferred java's good Python I try to learn it I still
don't know you might convince me but I prefer JavaScript I was myself I started
Visual Basic that was my first language I learned make all the fun you want all
right a visual basic back and why I was 15 years old I don't know I don't want
to reveal my age right so yeah so the visual basic then after that I learned
PHP ASP PHP a lot of PHP JavaScript obviously it just comes naturally with
the territory and I'll and believe it or not Island c-sharp just three years ago
because I had to write because when I especially when I came to this state
really because like everybody was using C shop right so I have to switch the C
shop and being from a computer science background learning new languages is no
problem at all it's just literally you want to build
the same application but without a programming with a different programming
language so if we want to learn how to do a certain thing you know that you
know if you see a piece of code written in any language you'll know if this
piece of code is bad or good in my opinion you will read us ok this school
is trying to do a loop inside a loop inside an open
action oh that's bad and nanny it's a universal any language driver alright
it's like laughing in any language you know that's people is laughing right or
if someone is making fun of you and then language you know they are making fun of
you let's uh so it's the same concept of programming languages any like a
programming language or it's and you will know that it's it's it you know how
to basically learn a language in a very simple manner alright I've been babbling
a lot it's been 30 minutes I hope you guys enjoyed this blog simple first vlog
excuse me if I was going left or right but I'm gonna see you in the next one
leave your question leave your comments below in the comment section what do you
what is your favorite programming languages what is your favorite
programming languages with an S right sir
what what's your favorite what is your first language you learn what is the
recently language you just learned share and let us know you can see on the next
one good bye