by harimau777 · 7y ago · 0 comments
For example, once I learned the term "tail" I no longer had to say "every element except for the first one".
As another example, learning about "complete" versus "partial" functions gave me the vocabulary to better understand and communicate about certain types of errors.
Does anyone know of any resources that describe different types of useful vocabulary such as this?
Edit: fixed link order
[1] https://youtu.be/cUNX3azkZyk?t=135 (video)
[2] https://www.youtube.com/watch?v=PZbqAMEwtOE (video)
in python for instance:
def tail(l):
'''
>>> tail([1,2,3])
>>> [2,3]
>>> tail([])
>>> ValueException("undefined on []")
'''
# actual logic