Navigation

the Clash of the Slashes

the Clash of the Slashes

By Theo van Hoesel (‎vanHoesel‎) from Amsterdam.pm, Groningen.pm, AmsterdamX.pm, London.pm
Date: Friday, 25 April 2014 14:30
Duration: 20 minutes
Target audience: Any
Language: English
Tags: fractions natural_language unicode


or: the Division of Dividers

READING | WRITING | COMPUTING ==> FRACTIONS IN PERL CODE

In common language we use fractions more often then we are aware of. However, since the introduction of computational power and poor designed keyboards or character sets, we accepted insane notations. Floating-point numbers belong to the domain of science and can be used to express approximations of results.

As math-teacher and forum-moderator, I was quite frustrated about the abusive use of all kind of symbols, like the 'slash' in expressions:

X^2=(3 1/2X+10)/3 # Arggh!

Simply because one did not know how to type a mathematical correct expression in Unicode:

x² = (3½x + 10) ÷ 3 # Yay! We have Unicode

So, we have Unicode, but what about using Unicode fraction in your Perl code: reading, writing and computations, all in one!

But do not think that Unicode is your friend for doing fractions and math on one single line: with all the different symbols there is still a essential 'missing slash'


Attended by: Theo van Hoesel (‎vanHoesel‎), Mallory van Achterberg (‎Stomme poes‎), Wendy Van Dijk (‎woolfy‎), Sebastian Stellingwerff (‎webmind‎), Oleg Komarov (‎komarov‎), Søren Lund (‎slu‎),