5 ms·
One of these years I'm going to make a Finnish programming language that enforces the correct case in arguments. And I don't mean silly arguments like camelCase
by lrasinen 5mo ago
One of these years I'm going to make a Finnish programming language that enforces the correct case in arguments. And I don't mean silly arguments like camelCase vs kebab-case, I mean grammar.
Some examples to illustrate:
tiedosto on "foo.txt" avattuna
tulostin on PRN1
kirjoita(tiedostoon, "a")
kirjoita(tulostimelle, "b")
Job security for DECADES.
- onre 5mo agoThis is equal parts brilliant and demented. Thank you. syöte olkoon vakiosyöte yritä tee syötteen kullekin alkiolle: käsittele(alkio) paitsi poikkeustilanteessa liukulukuylivuoto: kirjoita(virhetulosteeseen, "liukulukuylivuoto") muutoin: kirjoita(virhetulosteeseen, "odottamaton poikkeus")
- aapoalas 5mo agoRemember to be careful with looping lest you create an ikikieriö.
- mhd 5mo agoLike a more devious Lingua::Romana::Perligata? https://metacpan.org/dist/Lingua-Romana-Perligata/view/lib/Lingua/Romana/Perligata.pm https://metacpan.org/dist/Lingua-Romana-Perligata/view/lib/L...
- lrasinen 5mo agoPerhaps more inspired by the INTERCAL's PLEASE.
- marmakoide 5mo agoAnd with all the maths in balanced ternary
- kingofmen 5mo agoAnd call it AivotP*rkele?