SI DICE "UN ATTIMINO"?
sì o no?
✍🏻😎
#scrittura#writingtips#wearewriting
⏩ Espressione tra quelle criticate da sempre.
✅ Attimino deriva da attimo, una frazione di tempo che non può essere suddivisa; invece, come ci ricorda Donata Schiannini, storica della lingua, attimo ha la stessa radice di atomo, cioè indivisibile, e oggi sappiamo tutti che l'atomo in realtà è suddivisibile.
✅ Qualcuno lo ammette solo se riferito al tempo: "aspetti un attimino", ma non alla modalità, cioè non si dovrebbe dire "sei un attimino ubriaco". (Mah)
✅ In realtà non ci sono motivi validi per dire che l'utilizzo di attimino sia sbagliato, forse potremmo ragionare più sull'uso del diminutivo, se sia efficace o meno all'interno di un testo.
🚀La scelta migliore? A gusto, diciamo. Io, in narrativa, lo userei solo nei dialoghi. In altri testi, ci può stare se vogliamo usare uno stile molto colloquiale.
@writingway
🙌Se ti è piaciuto questo post e pensi possa interessare ad altri, inoltralo cliccando sulla freccia a destra.
http://stackoverflow.com/questions/6434482/python-function-overloading
I know that Python does not support method #overloading, but I've run into a problem that I can't seem to solve in a nice Pythonic way.
I am making a #game where a character needs to shoot a variety of bullets, but how do I write different functions for creating these bullets? For example suppose I have a function that creates a bullet travelling from point A to B with a given speed.
https://www.python.org/dev/peps/pep-0443/
This PEP proposes a new mechanism in the #functools standard library module that provides a simple form of generic programming known as #single_dispatch#generic functions.
A generic function is composed of multiple functions implementing the same operation for different types. Which implementation should be used during a call is determined by the #dispatch algorithm. When the implementation is chosen based on the type of a single argument, this is known as #single_dispatch .
#overloading