3 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 7mo 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 7mo 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 7mo agoRemember to be careful with looping lest you create an ikikieriö.
- mhd 7mo 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 7mo agoPerhaps more inspired by the INTERCAL's PLEASE.
- marmakoide 7mo agoAnd with all the maths in balanced ternary
- kingofmen 7mo agoAnd call it AivotP*rkele?