Back to explore

Jev Carry State: Để lại trạng thái cho lần gọi tiếp theo

Lập trình viên Tal Saiag chia sẻ một pattern Jev: mỗi lần gọi cố ý để lại một phần trạng thái nhỏ chỉ cho lần gọi Jev tiếp theo, gọi là 'Jev carry state'.

One Jev pattern I’ve been playing with that I haven’t seen discussed much: each call deliberately leaves behind a small piece of state only for the next Jev call. I’ve started thinking of it as Jev carry state. I pass Jev the normal application state it needs to decide.

· 2 likesOpen on X