Back to explore

Jev Carry State: ทิ้งสถานะไว้สำหรับการเรียกครั้งถัดไป

นักพัฒนา Tal Saiag แชร์แพตเทิร์น Jev: ทุกการเรียกจงใจทิ้งสถานะชิ้นเล็ก ๆ ไว้สำหรับการเรียก Jev ครั้งถัดไป เขาเรียกว่า '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