This is my english and software focused updates page. Here you can find updates about my website, and thoughts and opinions that don’t deserve a whole webpage.
The feed for the whole website can be found here.
If you’d like to follow updates, you can use either rss or twtxt from which this page and the atom feed are generated.
Why don’t you use twitter or mastodon like a normal person?
First off, I’m not normal. Second, people on twitter aren’t normal, and ditto for mastodon.
It’s been a while, and I have to switch to a computer. It’s time to have a cry. https://nslisica.neocities.org/sw/left-behind.html
Circles and ellypses made my angry or something. https://nslisica.neocities.org/sw/teaching-oop.md
-n
and -p
and -e
in
perlrun. Perl eventually started to be used for bigger programs
however, which made features like this very possible pitfalls. In
particular, the string "0"
was falsy in perl. This was the
main reason for use strict
.if("0") print("yes")
prints, but "0" == false
returns true. This has become such a problem most js stile guides
require the use of the strict ===
equality operator and
there are now multiple projects bringing strong static typing to
js.The reason why flexibly handling numbers like with sh and awk doesn’t work in perl and javascript is because of the way those languages are used, how they are invoked, how they get data, and many other factors. It’s worthless talking about whether dynamic or weak typing is good or bad unless we’re also looking at who uses the programming language and how.
I just wrote an article discussing what software I avoid and why: https://nslisica.neocities.org/sw/bullies.html
I just wrote a page about my experiences writing ndb.lua, focusing on interactive programming in particular. You can read it here: https://nslisica.neocities.org/sw/interactive.html.
I have just started working on a little lua module for parsing simple key=value files using lpeg. It’s been a blast working on it, it goes very fast and hopefully it will continue at the same pace. I’ll certainly write more about it later, and about the interactive stile of development in general. You can find the source code here: https://codeberg.org/readmemyrights/ndb.lua, and about lpeg here: https://www.inf.puc-rio.br/~roberto/lpeg/
Hello, world!