LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-28-2019, 02:12 PM   #76
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053

Quote:
Originally Posted by young_jedi View Post
Code:
$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

$ for p in $(echo $PATH|tr ':' ' ');do find $p -type f -exec sh -c "head -n 1 {} | grep -q perl && echo {}" \; ; done | wc -l
0

$ uname -sr
Alpine Linux 3.9.2
Turns out Perl is not so fundamental for use in system administration utilities, atleast on Alpine Linux.. And for those who say WTH is Alpine Linux and who cares? Its the base system Docker uses (Docker is a technology that supercedes virtual machines in many ways)...
that's only half a conclusion.
here's the other half (see attachment):
https://www.linuxquestions.org/quest...1&d=1553799915

¯\_(ツ)_/¯

Quote:
Read and weep (Fall of Perl): https://www.fastcompany.com/3026446/...ising-language
so that's where you got your inspiration.
i'm sure one can find articles on the interwebz to support any opinion one fancies.
also take care how you formulate your web searches.
what results do you think you'll get with
"perl computer language is dead" or "python is better than perl"
vs.
"compare relevance computer languages python perl"
???
(your article shows up on all 3. that shows they have good SEO, probably spending money on that. nothing else. yeah, the interwebz are complex.)
Attached Thumbnails
Click image for larger version

Name:	alpine-perl-vs-python.png
Views:	57
Size:	846 Bytes
ID:	30208  
 
Old 03-28-2019, 07:04 PM   #77
Samsonite2010
Member
 
Registered: Apr 2015
Distribution: Debian
Posts: 267
Blog Entries: 1

Rep: Reputation: 117Reputation: 117
Although just to play Devil's advocate - I did try searching for a number of negative phrases about python and it honestly comes out a lot better than Perl. If you search for "the fall of python", it is all positive views of python and the second highest result is "the fall of Perl" as linked previously.

Obviously this is due to the current popularity of python and the web will reflect that.

What Perl has against it is that new industries are not going to use it. Python is the go to language for AI and AI is the biggest deal in software for the foreseeable future. The software company I work for is doing AI now and it is selling like hot cakes. I think for developers, Perl is great, but for new businesses it is less appetizing.

It is the new world and python style will be the way forward, which is a departure from the Perl, C, Java, that I grew up on. But it probably means that you can name your price for working in Perl as the skills become less abundant, so it is not all bad!

I still stick by my point that being proficient in both Perl and Python will stand anyone in good stead. Python is so easy, honestly, I taught my little sister in a few hours and she now has a job using it (she has a Chemistry degree).
 
Old 03-28-2019, 08:59 PM   #78
young_jedi
Member
 
Registered: Mar 2019
Posts: 37

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
Yes, we all know what Docker is and most of us are probably far more familiar with it than you are.
I have not embarked on the journey of learning Docker yet, but the fact that I know Alpine (as I read all its documentation) gives me brownie points I think.. And I know LXD and there's LXD support for OpenStack, and 55% of OpenStack's servers run on Ubuntu...


Quote:
Wow...another opinion piece. Should we post a few that say something opposite?? You don't seem to get that:
  • Opinions aren't very relevant in this context
  • No one CARES if you use perl or not. Really.
The fact that you use Perl in your business cause your opinion of it is still held in high-reguard, does
not make it fact that the majority of SMBs, or even Fortune 500 companies hold the same beliefs.

Quote:
Originally Posted by ondoho View Post
that's only half a conclusion.
here's the other half (see attachment):
https://www.linuxquestions.org/quest...1&d=1553799915

¯\_(ツ)_/¯

so that's where you got your inspiration.
i'm sure one can find articles on the interwebz to support any opinion one fancies.
also take care how you formulate your web searches.
what results do you think you'll get with
"perl computer language is dead" or "python is better than perl"
vs.
"compare relevance computer languages python perl"
???
(your article shows up on all 3. that shows they have good SEO, probably spending money on that. nothing else. yeah, the interwebz are complex.)
I literally just typed "Perl vs Python" (which actually gives Perl better SEO cause people who favor something include their preference first; e.g. rather than "Python vs Perl").. And there are many ways to boost SEO rather than just spending money; like using the best practices in the HTML code, or by using SSL... Also websites that post alot of blogs tend to have high SEO..

Quote:
Originally Posted by Samsonite2010 View Post
Although just to play Devil's advocate - I did try searching for a number of negative phrases about python and it honestly comes out a lot better than Perl. If you search for "the fall of python", it is all positive views of python and the second highest result is "the fall of Perl" as linked previously.

Obviously this is due to the current popularity of python and the web will reflect that.

What Perl has against it is that new industries are not going to use it. Python is the go to language for AI and AI is the biggest deal in software for the foreseeable future. The software company I work for is doing AI now and it is selling like hot cakes. I think for developers, Perl is great, but for new businesses it is less appetizing.

It is the new world and python style will be the way forward, which is a departure from the Perl, C, Java, that I grew up on. But it probably means that you can name your price for working in Perl as the skills become less abundant, so it is not all bad!

I still stick by my point that being proficient in both Perl and Python will stand anyone in good stead. Python is so easy, honestly, I taught my little sister in a few hours and she now has a job using it (she has a Chemistry degree).
Finally someone who's unbiased and see's the bigger picture, thanks Samsonite2010 you're awesome!

Last edited by young_jedi; 03-28-2019 at 09:35 PM.
 
Old 03-29-2019, 01:46 AM   #79
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by Samsonite2010 View Post
Obviously this is due to the current popularity of python and the web will reflect that.

What Perl has against it is that new industries are not going to use it. Python is the go to language for AI and AI is the biggest deal in software for the foreseeable future. The software company I work for is doing AI now and it is selling like hot cakes. I think for developers, Perl is great, but for new businesses it is less appetizing.
you make a reasonable point there; and you do not "condemn" perl to meaninglessness.
i can live with that.
if you go back to the beginning of this thread you will see that in the beginning people answering OP were much more reasonable, too.

Quote:
Originally Posted by young_jedi View Post
but the fact that I know Alpine gives me brownie points I think..
yes, we already gathered that that is how you think...
Quote:
(as I read all its documentation)
ALL of it? dream on...
Quote:
which actually gives Perl better SEO
programming languages do not have SEO - websites do.


all in all i would have prefered some comment to the fact that a freshly installed alpine has neither perl nor python, and how it invalidates your argument that "there's no perl on alpine, therefore python is better" (ok, i'm paraphrasing a little here but yes, that's essentially what you're on about).

Last edited by ondoho; 03-29-2019 at 01:49 AM.
 
1 members found this post helpful.
Old 03-29-2019, 09:41 AM   #80
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,659

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by young_jedi View Post
I have not embarked on the journey of learning Docker yet, but the fact that I know Alpine (as I read all its documentation) gives me brownie points I think.. And I know LXD and there's LXD support for OpenStack, and 55% of OpenStack's servers run on Ubuntu...
So if you don't know Docker, why do you think you're qualified to explain it to others?? And again, no one really cares what you run..why should you get 'brownie points' for doing something that someone else wrote, deployed, and documented??
Quote:
The fact that you use Perl in your business cause your opinion of it is still held in high-reguard, does not make it fact that the majority of SMBs, or even Fortune 500 companies hold the same beliefs.
And how many have you worked for?? I can list five among direct employers, and at least 20 as clients of my business. And it's been used at ALL of them. And you are, again (STILL) missing the point. Your question was very simple: is it still relevant? Answer still remains "Yes", regardless of how much you want to whine otherwise. Don't want to learn it? Then don't...not hurting anyones feelings, and again, we just don't care what you learn/know. Again, why aren't you going out and getting one of those jobs you keep mentioning??? After all, YOU know PYTHON...should have folks lining up to hire you. Or do they want folks who actually know more than one thing??
Quote:
I literally just typed "Perl vs Python" (which actually gives Perl better SEO cause people who favor something include their preference first; e.g. rather than "Python vs Perl").. And there are many ways to boost SEO rather than just spending money; like using the best practices in the HTML code, or by using SSL... Also websites that post alot of blogs tend to have high SEO.. Finally someone who's unbiased and see's the bigger picture, thanks Samsonite2010 you're awesome!
You *STILL* miss the point. Samsonite2010 said the same thing all of us have been saying, and you (AGAIN) seem to only read/understand what you agree with. Did you miss the part where they said that knowing BOTH is a good idea? Or that (depending on your Google search), you can find results skewed in either direction???

You are posting opinion pieces. COBOL has been around for 50 years, and is STILL in demand. C/C++? Still in demand, as is assembler, and lots of other things that aren't Python. Again, Python is the new 'hot' thing...and in a few years, there will be ANOTHER one that supersedes python.
 
7 members found this post helpful.
Old 03-29-2019, 10:54 PM   #81
young_jedi
Member
 
Registered: Mar 2019
Posts: 37

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
I can list five among direct employers, and at least 20 as clients of my business. And it's been used at ALL of them.
Finally a golden nugget through all this debate, if you could have just said that from the start instead of other vague answers this forum would only be about 3 pages long.. Im honestly not looking for pointless battering back and forth, that's why I hearby declare this thread solved! Thanks TB0ne, I think we just got off on the wrong foot.

Last edited by young_jedi; 03-29-2019 at 10:58 PM.
 
Old 03-30-2019, 09:05 AM   #82
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,659

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by young_jedi View Post
Finally a golden nugget through all this debate, if you could have just said that from the start instead of other vague answers this forum would only be about 3 pages long.. Im honestly not looking for pointless battering back and forth, that's why I hearby declare this thread solved!
You were told YES specifically numerous times. You ignored it. The only one 'debating' was you with your pointless opinion links, your 'read and weep' stuff, etc. You said you were taking your 'creative genius' and going elsewhere...which was apparently a lie, since you're still here.

The only thing you were interested in, is trying to get others to validate your opinion.
Quote:
Thanks TB0ne, I think we just got off on the wrong foot.
No, your behavior is what the problem was, and if you don't see that, there isn't much anyone on a forum can do to help you.

Last edited by TB0ne; 03-30-2019 at 09:07 AM.
 
4 members found this post helpful.
Old 03-31-2019, 01:48 AM   #83
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
^ I was going to say something very much along those lines yesterday.
Fingers hovering over the keyboard ... but then I thought nah, what's the point.
Let OP have this illusion of agreement; it's better than most alternatives.
 
4 members found this post helpful.
Old 04-01-2019, 06:20 PM   #84
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,732

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
This discussion got me looking around and I found this talk..

Probably not persuasive, but very interesting, I thought.
 
1 members found this post helpful.
Old 04-02-2019, 01:06 AM   #85
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by scasey View Post
This discussion got me looking around and I found this talk..
"When’s the last time you used duct tape on a duct?"
 
Old 04-23-2019, 07:09 AM   #86
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,515

Rep: Reputation: 239Reputation: 239Reputation: 239
I got told off for using Perl recently

"use something else like Py-thonn".

Oiks!!!
Yeah right if you want me to take 3 weeks to do it!


I might try and slip some Lisp in somewhere.
 
Old 04-24-2019, 06:20 AM   #87
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,664

Rep: Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710
Quote:
Originally Posted by bigearsbilly View Post
I got told off for using Perl recently

"use something else like Py-thonn".

Oiks!!!
Yeah right if you want me to take 3 weeks to do it!


I might try and slip some Lisp in somewhere.
It irritates me when someone who is a one-language wonder (or a script kiddie) wants me to do something using their favorite tool or buzzword when it is NOT THE RIGHT TOOL FOR THE JOB!. IT REALLY tourques me when a manager or executive says such things. It is like telling your auto-mechanic to change the oil, when the problem is that your transmission is hosed.

Sometimes Python is the right tool, sometimes PERL is the right tool, sometimes neither one is appropriate. Not that they will not work, but there is a better way. We are paid to know, or find, the RIGHT way to solve the problems.
 
4 members found this post helpful.
Old 04-25-2019, 06:47 AM   #88
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,515

Rep: Reputation: 239Reputation: 239Reputation: 239
Dont't worry, I don't listen to managers too much but I get the job done which they cannot argue with.

It was a particularly gnarly bit of extreme Perl Kung-Fu, but parsing hundreds of HTML files is a nasty business.
You can have it quick or pretty but not both!

You know what these young'uns are like, object instantiation broker, big data, cloud web service dev ops agile
design patterns blah blah!


The trouble seems to be the engineers have let the management get out of control, they have no concept of
management training.
 
2 members found this post helpful.
Old 04-26-2019, 11:58 AM   #89
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by wpeckham View Post
It irritates me when someone who is a one-language wonder (or a script kiddie) wants me to do something using their favorite tool or buzzword when it is NOT THE RIGHT TOOL FOR THE JOB!.
here's a nice python pearl (pun intended):
Quote:
I have here the py-Script of a friend. It shows the US Baseball Championship in the Conky.

lea.py

Code:
#!/usr/bin/env python

import os, sys

filename = "http://www.espn.com/mlb/standings | egrep -A19 'American League'"
cmd = os.popen("lynx -nonumbers -dump %s" % filename)

output = cmd.read()
cmd.close()
print output
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Please ensure your reply is still relevant and timely. Aquarius_Girl LQ Suggestions & Feedback 3 11-17-2012 11:44 AM
Is The UNIX-HATER Handbook still relevant today? mangotree General 4 07-16-2012 10:28 AM
LXer: Is Fedora Linux Still Relevant? LXer Syndicated Linux News 2 06-20-2009 06:09 AM
LXer: Is Fedora Linux Still Relevant? LXer Syndicated Linux News 0 06-19-2009 10:30 PM
LXer: Debian @15 is it still relevant? LXer Syndicated Linux News 1 08-18-2008 06:29 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration