Ever considered the similarity in structure between macaroon and macaroni? In fact, the two words are connected: macaroon (through French macaron and Italian maccarone) and macaroni (through Italian maccaroni) both trace to the Italian word maccherone, which described a macaroni-like pasta. Obviously it was macaroon that went through a semantic shift here; it was named after the pasta because macaroon cookies utilize coconut or almond shredded in a manner reminiscent of macaroni. Now, maccherone has two possible origins, each as vague as the next. It may be from the earlier Italian word maccare, or "to crush", or it may be from the Greek word makaria, which meant "food with barley", perhaps since the original pastas were made with that vegetable. Both words have uncertain origins. Later, the word macaroon deviated much farther from its original meaning as it came to be the term for a sort of French cookie that had nothing to do with shredded bits. Ah, how languages change!
Adam Aleksic, an incoming freshman at Harvard University, has been described as the internet's sixth most famous etymologist. He has disturbing interests in linguistics, vexillology, geography, board games, limericks, and law, and he loves writing about himself in the third person.
The Etymology Nerd