L'ADATTAMENTO DELLE PAROLE
✍🏻😎
#scrittura#writingtips#wearewriting
⏩ L'adattamento delle parole è un fenomeno - detto "prestito" dagli esperti linguisti - secondo cui una parola che giunge da un'altra lingua si adatta alla nostra sia nel parlato che nello scritto e anche nella struttura grammaticale.
⏩ Un esempio è la parola turismo che arriva dall'inglese tourism passando per il francese tourisme.
O parole come zumare (con la u al posto della doppia o, zoom dell'inglese). 🤓
✅ La storica della lingua, Donata Schiannini, scrive come "i pedanti" giudichino orribili le derivazioni moderne (come zumare o computerizzato e non abbiano nulla da dire su quelle di derivazione antica di cui si è persa l'origine).
✅ In ogni caso, è sempre importante opera culturale quella di ricercare l'origine delle parole che usiamo tutti i giorni ed essere sempre più consapevoli della nostra lingua.
@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