He was regarded as one of
Dublin's great curmudgeons and also one of its greatest wits. When aspiring to be Provost of Trinity College, upon hearing that the incumbent was ill, he is said to have remarked, "Nothing trivial, I hope?" In his academic years, perhaps his most notable student was
Oscar Wilde, with whom he discussed homosexuality in ancient Greece, and with whom he also collaborated in writing Mahaffy's book
Social Life in Greece. Although he later expressed reservations about Mahaffy, Wilde nonetheless described him as "my first and best teacher" and "the scholar who showed me how to love Greek things". When Wilde went on to achieve fame and success, Mahaffy boasted of having created him, only to later describe Wilde as "the only blot on my tutorship". Like his protégés, Wilde and
Oliver Gogarty, Mahaffy was a brilliant conversationalist, coming out with such gems as "in Ireland the inevitable never happens and the unexpected constantly occurs." When asked, by an advocate of
women's rights, what the difference was between a man and a woman he replied, "I can't conceive." He was apparently opposed to
Irish Catholics accessing higher education; Gerald Griffin records Mahaffy as saying "
James Joyce is a living argument in defence of my contention that it was a mistake to establish
a separate university for the aborigines of this island – for the corner boys who spit into the
Liffey." Politically, Mahaffy was a staunch
unionist who in 1899 tried to have the
Irish language removed from the national Intermediate curriculum on the grounds that there was no literature in the language that was not "religious, immoral or indecent". In 1914, he suppressed the university's Gaelic Society when it proposed to mark the centenary of the birth of
Thomas Osborne Davis with a gathering that was to be addressed by
Patrick Pearse, who at the time was campaigning against the recruitment of Irish soldiers to serve in the British armed forces during
World War I, whereas Mahaffy was vigorously in favour of all possible support for the British war effort. Additionally, Mahaffy was greatly worried by the prospect of the
partition of Ireland, and during the
Irish Convention of 1917-18, he proposed a federalist
Home Rule arrangement in Ireland, based on the
Swiss cantons’ model, with parliaments in each of the provinces sending representatives to a central assembly. Mahaffy also had a reputation as a snob. For instance, he had a great admiration for the nobility and would often prefer the company of dukes and kings. When he moved into Earlscliffe (a house on the
Hill of Howth, County Dublin) as his summer residence, a wag at the time suggested that maybe it had better be renamed Dukescliffe. Curmudgeon and snob though he could undoubtedly be, Mahaffy was also capable of great and spontaneous kindness, as is evident from the instance of the schoolboy whom Mahaffy came upon near the Hill of Howth, where the boy was reading Greek. Mahaffy asked him about his studies, later lent him books to assist him, and eventually saw to it that the young man was admitted free of charge to read Classics at Trinity College Dublin. ==Personal life==