5 ms·
You are wrong. Most interfaces in non-functional languages are stateful. Take the JDBC-interface: It's certainly not possible to call setTransactionIsolation()
by cel1ne 9y ago
You are wrong.
Most interfaces in non-functional languages are stateful.
Take the JDBC-interface: It's certainly not possible to call setTransactionIsolation(), executeQuery(), commit(), rollback() etc. in any order.
Or list: add, remove, set, clear etc.
It's still an interface.