#staticTyping

2025-06-13

Play Static Games, Win Static Prizes screwlisp.small-web.org/progra
#staticTyping #typechecking #staticProgramAnalysis #commonLisp #lisp #sbcl #series #acl2

In which I look at modern and to some extent historical static program analysis popularly used with common lisp #programming.

I accidentally make the really good point that even if #sbcl is not your deployment target, you can still use its static type checking, for which I work an example.

#lazyEvaluation and formal theorems are also included.

steel bank common lisp telling me that the type coercion necessary for my DEFUN MYADD's types has (cost 20) for the result of inline (signed-byte 64) arithmetic when I compile a file.
Vassil Nikolovvnikolov@ieji.de
2025-05-07

@mdhughes @screwtape @smlckz @sektor @clew @eduardoochs @dougmerritt

The point is not that static type checking is omnipotent: it isn't, of course.
The point is that it catches _very many_ mistakes that programmers are _prone_ to make.
I say again: mistakes that are _often_ made, not all that can be made _in principle_.

> function addints(int x, int y) : int { return 3; }

This is too trivial.
Warning: variable declared but never used.

#StaticChecks
#StaticTypeChecks
#StaticTyping

N-gated Hacker Newsngate
2025-05-04

Typed Lisp aficionados offer a *mind-blowing* revelation: you too can experience the joy of static typing, but only if you're prepared to navigate a labyrinthine manifesto of type hierarchies and algebraic data types, all while still loving 💻✨. Because, apparently, there's nothing more exhilarating than making Lisp even more confusing for beginners 🤯📚.
alhassy.com/TypedLisp.html

Ivan GJivangj
2025-04-17

Las creadoras de `ruff`
deberían ir más allá y sacar un sustituto de `mypy` que, además de que sea mucho menos inestable, que sea muchísimo más rápido.

¿Conocías la maravilla de ?
astral.sh/ruff

urmaul.com blogblog@gts.urmaul.com
2024-04-17

Yes, You Can Use Different Types With the Same Structure

This is a story of how we fixed multiple bugs by typing our array indexes.

https://urmaul.com/blog/different-types-same-structure/

#DomainDrivenDesign #StaticTyping

Tin Tvrtkovićtintvrtkovic
2023-11-12

This Friday I had the privilege of giving the Zagreb meetup a talk on the why, when not and how of in Python.

We in the Python community are given this incredible choice between writing dynamically typed code for fast prototyping or using a pretty sophisticated (IMO stronger than Java, Go or even C#) type system for bigger projects. Or anything in between.

The situation isn't perfect, of course, but this is still pretty amazing. Most programming languages don't get this.

Jan :rust: :ferris:janriemer@floss.social
2023-07-14

"Do it in #Rust from the beginning!" - Jon Gjengset

#RustLang #Prototyping #DynamicTyping #StaticTyping

Charles Tapley Hoytcthoyt@scholar.social
2023-03-19

type annotations are cool, but there are definitely cases when they get in the way, like traversing some unknown data structure:

github.com/cthoyt/orcidio/blob

context: this traverses an OBO Graph JSON to find ORCID identifiers, and would be way too complicated to get all corner cases

#typing #statictyping #python #orcid #obo #json #recursion #dynamic

F.Felixffelixr
2023-03-12

Python con mypy ya me convence más, mucho más!! mypy-lang.org/

Kristoffer LawsonSetok@attractive.space
2023-02-27

For long there has been debate about #StaticTyping vs #DynamicTyping in #programming. Frequently claims are made that static typing reduces bugs. Purely anecdotally I have not personally found that to be significantly true, and static typing can make coding slower with less flexibility (then again I am a #Tcl guy, and also prefer pure #Javascript to #TypeScript).

Here is a great read that analyses various studies made on the topic: danluu.com/empirical-pl/

2023-01-10

My back burner side project to get mypy and other type checking into @ParslProject is now explicitly enumerated in one of the grants that funds me, so I'm ramping up on slightly more aggressive rearrangement of code, now the almighty dollar has blessed me.

#MyPy #Python #StaticTyping

2022-12-23

Go's a statically typed language for many good reasons. But sometimes we need a bit more flexibility.
Let's check out @joeblubaugh’s "Looking In Go’s Mirror: How and When to Use Reflect" about how the Reflect package can help.

#gopheradvent22
#statictyping
#reflection

Alex Nedelcu :scala: :java:alexandru@fosstodon.org
2022-11-19

Hi all 👋

I'm moving from mastodon.social/@alexelcu, again; still experimenting, and with a self-control problem 😅

I'm a #programmer. I love #StaticTyping and #FunctionalProgramming on top of #Scala, #Kotlin, and #Haskell. I'm from #Bucharest, #Romania, and I like to contribute to programming libraries.

I write at alexn.org, and I contributed to monix.io and to typelevel.org.

My bois said hi 👋

2022-04-18
Sometimes, I forget when I coded in Turbo Pascal, and I couldn't fix my program without the compiler's help. So I was lack of empathy. Besides efficiency and auto-complete, sometimes some programmers need help from a compiler to fix problems in their codebases even if they are aware of the existence of the problem by trying to run their programs. #statictyping

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst