Skip to content

Instantly share code, notes, and snippets.

@BugInMyHEAD
BugInMyHEAD / GenericTransState.kt
Created August 22, 2025 17:36
GenericTransState
package com.buginmyhead.chatter.fundamental.architecture
/**
* Trans-state is a coinage to indicate transition and state together in the state machine concept.
*
* Example for [GenericTransState], [GenericTransition], [GenericTransition.Disposal]:
* ```kotlin
* sealed interface Event
* sealed interface TransState : GenericTransState<TransState, State, Event>
* sealed interface State : TransState
@BugInMyHEAD
BugInMyHEAD / Antonyms.md
Last active July 13, 2018 01:42 — forked from maxtruxa/Antonyms.md
A list of common terms used in programming and their respective antonyms.

Antonym List

Note: The table headings (positive/negative) are not necessarily meaningful.

Positive Negative
acquire release
add remove (e.g. an item), subtract (arithmetic)
advance retreat
allocate deallocate (correct), free (common)
assemble disassemble