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

Crossing the Streams With Azure Event Hubs and Stream Analytics | A Cloud Guru

HOW TO CREATE NOTIFICATION DROPDOWN IN XAMARIN FORMS

macos catalina git error

The Industries that value Technical Writers the Most

CS371P Week 13 Blog

Day 1 css setup and selectors

What Exactly is Html — A Beginner’s Guide

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

Tinkering Tuesday 1: Arduino Intro

Fix Windows 10/11 Icons Not Showing Up / Working as Expected

Windows 11: The Good, the Bad and the Ugly

The God Bug