WTF is “0 but true”

Perl variable declaration of a string with the value “0 but true”.

I have spent most of my life coding with JavaScript. For me, it is natural to use, and I know by heart most of its quirks and oddities. I understand many of these are quite strange for newcomers and can generate some aversion. However, recently learnt about one of these things in Perl that makes JavaScript oddities look amateurish.

Perl? What is that?

--

--

--

Software engineer at Booking.com. I write about tech, mostly *nix, JS & Go. Also life stuff, learning languages and hobbies. https://threkk.com

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Today’s #technology Buzz word “Scale” .

Jenkins and its Industries use cases

Master Data and Reference Data

How To Set Custom Theme In Xamarin Forms

Embedded Systems Serie

Exploring Multi-Processing for Exhaustive Hydrogen Bonding Analysis using MDAnalysis and Futures

Bootstrap 5 alpha!

Building a Kin-powered app with Unity, Part 2

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alberto de Murga

Alberto de Murga

Software engineer at Booking.com. I write about tech, mostly *nix, JS & Go. Also life stuff, learning languages and hobbies. https://threkk.com

More from Medium

Why C is Called an Evergreen Programming Language?

Why Open Source Is Here To Stay

10 Best Programming Languages For Web Development In 2022

Ruining Wordle