Larry
New Member
Posts: 40
|
Post by Larry on Apr 27, 2020 1:27:55 GMT -5
Python took its place, not because it was popular or backed by a big, well-known company, but simply because it was everywhere and free. So were Perl and PHP, and maybe Ruby. But the code was just easier to understand with Python. It also didn't hurt to have a cool name. :@) Python is popular for another reason, probably the main reason, in the age of IOT, its 'net' modules enabling web interaction. Also cross platform is here and now. That's what newcomers to programming want today, rather than stand alone apps. I have written stand alone LibertyBASIC apps to control devices via sockets and internet connections but professional programmers take one look and say why bother with such things, its easier and better to use browsers, apache and cgi which python has the capability of. So LB lacks the cgi, email, stdio, etc. which is in demand in 2020 and those are the methods I use now, but I still use LB with linux WINE, mostly successfully for stand alones because LB5 cross platform will (unfortunately for me) be a long time in maturing.
I do not mean to hurt anyone's feelings, but the world does not revolve around the internet. We've did without it from the begining of time, until whenever the internet first showed up. As far as basics goes, I use some QB64 but mostly I use Liberty Basic. And, as far as being easy, Python is far from easy. I have an esoteric language interpretor written in Python. It is a language based on using toilet paper. I cannot even read the program enough to tell the structure of it or what makes it do what it does.
|
|
|
Post by gidiom2 on Apr 27, 2020 2:27:53 GMT -5
I do not mean to hurt anyone's feelings, but the world does not revolve around the internet. We've did without it from the begining of time, until whenever the internet first showed up. As far as basics goes, I use some QB64 but mostly I use Liberty Basic. And, as far as being easy, Python is far from easy. I have an esoteric language interpretor written in Python. It is a language based on using toilet paper. I cannot even read the program enough to tell the structure of it or what makes it do what it does. No offence taken, thanks for responding. I disagree though, the world now does revolve around the internet. We did without electricity from the beginning of time, but now its a vital resource. Everyone I know now seems to have just a smartphone or 4G/5G tablet, laptops and desktops abandoned (and I'm 75 yo.) My programming is mainly IOT/internet related. I wrote an app in LB4 to remote control devices, using socket APIs, which obviously required program installation, laptop and windows. My son-in-law indicated how it would be much more useful for this to be a web application (which turned out to be simpler) and could be used on any device with a browser. So now its one device and a browser to do almost everything. I still use LB4 occasionally but would love to be able to 'cgi' it.
Sorry I seem to have repeated my previous post.
|
|
|
Post by meerkat on Apr 27, 2020 5:44:02 GMT -5
Couldn't agree with you more. Today with 5G there is almost no latency, and it's not much different then using your terminal. All my remote devices are run using the web. I had a couple jobs for remote control, but converted them to the web. Why run wires to open a garage door when you can simply use web enabled devices. And, like you, I think browser apps are easier to write. I tried to get LB and cgi to work, but was easier to use something else. Don't get me wrong, I love Basic, electricity, and now the web - and I want all three.
|
|
|
Post by gidiom2 on Apr 27, 2020 6:08:43 GMT -5
I have an esoteric language interpretor written in Python. It is a language based on using toilet paper. I cannot even read the program enough to tell the structure of it or what makes it do what it does.
Curiosity compels me to ask 'What?' Code written on a roll or ....... ?
Or am I missing a joke?
|
|
|
Post by svajoklis on Apr 27, 2020 6:11:38 GMT -5
What web comes with is a full fledged UI engine with extensive styling options. It's very hard or nearly impossible to create something as flexible as CSS in some personal implementation, it always feels limited. It's inherently multiplatform, since all major operating systems have browsers, and if you don't aim at the bleeding edge of Chrome Canary features, then you can reasonably expect it to work well. If you are able to fire up a simple web server to serve up some HTML some JS, expose things through some server methods that are called by the JS (or by anything else at that point!), then you're golden.
There is a case for running software locally though, since storing things in databases creates some overhead in setup, but then you have to sacrifice something else.
|
|