Definitions

from Wiktionary, Creative Commons Attribution/Share-Alike License

  • n. A compiler directive; data embedded in source code by programmers to indicate some intention to the compiler.

Etymologies

From the Ancient Greek root πρᾶγμα (pragma, "a thing done, a fact"). May be a back-formation from pragmatic. (Wiktionary)

Examples

  • That simplifies your job: Instead of calling into the operating system to create a critical section, you just throw in a pragma (like so: #pragma omp critical) before the line that is to be a critical section.

    eWeek - RSS Feeds

  • If you like to keep the code the way it is and supress the warning, you can use the preprocessor and a pragma directive: if (CACHEABLE) #pragma warning restore

    ASP.NET Forums

  • Americans like myself tend to respond to Dutch pragma-dialectics with a bit of bemusement – that the work is interesting to think about, but that their ideal speech act looks like nothing we have ever encountered in our daily lives, and it most certainly looks nothing like an open forum.

    Matthew Yglesias » The American Way

  • What about something like a #pragma preprocessor that would involve a string so that when the user uploaded the code to LP, LP would recognize it and enable Rosetta translations automatically?

    Planning For 10.10: Growing Our Translations Community | jonobacon@home

  • One day I hope to talk of pragma — ideas held loosely and tentatively.

    Paradigm Assessment Schemata (Part 2)

  • ORIGIN mid 19th cent.: from Greek pragma, pragmat- ‘deed’ see pragmatic + -ism .

    Hickey remarks vanish (revised)

  • But in the pragma what formal cause made a smile of that to-think?

    Finnegans Wake

  • And most pragma - tists are, in addition, haunted by the fear that concern with “otherworldly” things will interfere with the task of improving the conditions of existence here and now.

    DEATH AND IMMORTALITY

  • (Duguit) but even individualism (Laski), while Protag - orean humanism and some correlative forms of pragma - tism permit freedoms in choices almost without stint.

    JUSTICE

  • Vailati saw three intimate relations between pragma - tism and symbolic or mathematical logic; symptomatic of this close connection, he said, “is the fact that the very inaugurator of the term and conception of pragmatism, Charles S. Peirce, is also at the same time the initiator and promoter of an original direction of logico-mathematical studies” (Vailati [1957], p. 197).

    PRAGMATISM

Wordnik is becoming a not-for-profit! Read our announcement here.

Comments

Log in or sign up to get involved in the conversation. It's quick and easy.