Self-Motivation
David Goggins
Former Navy Seal
Career Development
Bryan Cranston
Actor
Critical Thinking
Liv Boeree
International Poker Champion
Emotional Intelligence
Amaryllis Fox
Former CIA Clandestine Operative
Management
Chris Hadfield
Retired Canadian Astronaut & Author
Learn
from the world's big
thinkers
Start Learning

You Can Cuss in Perl

Question: How would you explain what Perl is to a non-programmer?

Larry Wall: Well, people have ideas of what programming is like from the movies and such, but it's not really much like that.  Perl is what we call a scripting language.  It's for doing ad hoc things and just one-off things that you really wouldn't almost think of as being programming problems.  It's a language that is kind of like, you might think of writing a, you know, a ransom note and you're going to grab a newspaper and clip it into little pieces and so you want to find the right text really quickly and then you want to have some way of gluing it all together in the right order and that's kind of what a scripting language is good at, it's good at taking text and gluing it together.

But more than that, I mean, there's many scripting languages in the world, Perl is a little bit special because it is based more on some ideas from the way natural languages work.  My training was in linguistics, as well as computer science, so I've tried to make a language that works on a deep level, like human languages work.  You don't have to know the whole language to use it usefully, you can do baby talk, you can do grown up talk, you can cuss in it, you can write poetry, you can be a playwright, is sort of the idea.

How you use the language is really based on things that are external to the language itself.  So many computer languages try to force you into one way of thinking and Perl is very much the opposite of that approach.  It's kind of like a, well, sometimes Perl has been called the Swiss army chainsaw of the internet, but it's more like a Swiss army machine shop.  It really gives you a lot of tools, some of which are dangerous, but it lets you get your job done very quickly.

Question: How is Perl a “post-modern language”?

Larry Wall:  Well, the way I think of post-modernism, there's, post-modernism, of course, is about having many different views of something; it's about, you know, some people think of it as tearing down the power structures.  But in my experience, the post-modern movement has mostly been about not getting hung up on one particular idea or way of doing things, like modernism tends to do, and instead, sort of picking and choosing from different historical eras—I'm thinking more of architecture, where you can see different architectural features that the architect has used, just because they think they're cool and they can combine, you know, classical and romantic and baroque even, different ideas, and even modern, sure.  But you pick things because they're cool and because they'll be useful, not because somebody says this is the only way to do things.

And so Perl is very similar in the way it has collected features from other languages, things that seem to be distinct ways of doing things and finding a way of meshing those in a pleasing fashion—the same way a poet might take words that are very different from each other and mesh them into a coherent poem. Perl, in that sense, is very, very much, it doesn't have an agenda and it really is not trying to tell you how you're supposed to do your job, it just tries to get out of your way as much as possible. 

Question: Is Perl a good first language to learn for aspiring programmers?

Larry Wall:  In a sense, it's a good first language.  I've known people who learned it as a first language successfully, but that's not its primary purpose.  There are languages that are designed with the purpose of being a good first language, but they tend to run out of steam about the time your programs get interesting.  I think of Perl more as a last language that you would want to learn, that while Perl is like a human language and that you can start with baby talk and you're not expected to, you know, we don't expect a 50-year-old and a 5-year-old to speak with the same diction.  That's fine.  But we expect that when you need to know something, you can learn a new thing and the resources will be there for you to learn as you go.  So, it can be learned as a first language, but we really concentrate on having an expressive language, not an easy-to-learn language.  And sometimes an expressive language is a little harder to learn, but we think it's worth it. 

Perl developer Larry Wall says that, like a human language, you can use Perl in many ways—for baby talk, grownup talk, writing poetry or plays, and even cussing.

The “new normal” paradox: What COVID-19 has revealed about higher education

Higher education faces challenges that are unlike any other industry. What path will ASU, and universities like ASU, take in a post-COVID world?

Photo: Luis Robayo/AFP via Getty Images
Sponsored by Charles Koch Foundation
  • Everywhere you turn, the idea that coronavirus has brought on a "new normal" is present and true. But for higher education, COVID-19 exposes a long list of pernicious old problems more than it presents new problems.
  • It was widely known, yet ignored, that digital instruction must be embraced. When combined with traditional, in-person teaching, it can enhance student learning outcomes at scale.
  • COVID-19 has forced institutions to understand that far too many higher education outcomes are determined by a student's family income, and in the context of COVID-19 this means that lower-income students, first-generation students and students of color will be disproportionately afflicted.
Keep reading Show less

Creativity: The science behind the madness

Human brains evolved for creativity. We just have to learn how to access it.

Videos
  • An all-star cast of Big Thinkers—actors Rainn Wilson and Ethan Hawke; composer Anthony Brandt; neuroscientists David Eagleman, Wendy Suzuki, and Beau Lotto; and psychologist Scott Barry Kaufman—share how they define creativity and explain how our brains uniquely evolved for the phenomenon.
  • According to Eagleman, during evolution there was an increase in space between our brain's input and output that allows information more time to percolate. We also grew a larger prefrontal cortex which "allows us to simulate what ifs, to separate ourselves from our location in space and time and think about possibilities."
  • Scott Barry Kaufman details 3 brain networks involved in creative thinking, and Wendy Suzuki busts the famous left-brain, right-brain myth.

Dinosaur bone? Meteorite? These men's wedding bands are a real break from boredom.

Manly Bands wanted to improve on mens' wedding bands. Mission accomplished.

Sex & Relationships
  • Manly Bands was founded in 2016 to provide better options and customer service in men's wedding bands.
  • Unique materials include antler, dinosaur bones, meteorite, tungsten, and whiskey barrels.
  • The company donates a portion of profits to charity every month.
Keep reading Show less

What if Middle-earth was in Pakistan?

Iranian Tolkien scholar finds intriguing parallels between subcontinental geography and famous map of Middle-earth.

Image: Mohammad Reza Kamali, reproduced with kind permission
Strange Maps
  • J.R.R. Tolkien hinted that his stories are set in a really ancient version of Europe.
  • But a fantasy realm can be inspired by a variety of places; and perhaps so is Tolkien's world.
  • These intriguing similarities with Asian topography show that it may be time to 'decolonise' Middle-earth.
Keep reading Show less

How #Unity2020 plans to end the two-party system, bring back Andrew Yang

The proposal calls for the American public to draft two candidates to lead the executive branch: one from the center-left, the other from the center-right.

Photo by David Becker/Getty Images
Politics & Current Affairs
  • The #Unity2020 plan was recently outlined by Bret Weinstein, a former biology professor, on the Joe Rogan Experience.
  • Weinstein suggested an independent ticket for the 2020 presidential election: Andrew Yang and former U.S. Navy Admiral William McRaven.
  • Although details of the proposal are sparse, surveys suggest that many Americans are cynical and frustrated with the two-party system.
Keep reading Show less
Quantcast