News for hackers. Stuff that matters.
Re:picol: A Tcl interpreter in 500 lines of code by bmacho on Monday February 16, 2026 @07:48AM (#47034344)
Tcl has these types as well. They are special strings.

Number: string of digits. List: strings separated by space. Dictionary: key value pairs in a list.

Re:picol: A Tcl interpreter in 500 lines of code by IshKebab on Monday February 16, 2026 @03:40PM (#47040051)
No they aren't. Everything is a string. The runtime does some optimisation where it actually does use different types under the hood but they don't change the semantics.

If you try to pass a list into a function expecting a string it will just treat the list as a string. No type error or anything, not even at runtime.

CMake is the same. Terrible design. Real types are useful.