Debian Codegraph @

envisage/examples/demo/MOTD/acme/motd/software_quotes/messages.py

raw
1 # (C) Copyright 2007-2025 Enthought, Inc., Austin, TX
2 # All rights reserved.
3 #
4 # This software is provided without warranty under the terms of the BSD
5 # license included in LICENSE.txt and may be redistributed only under
6 # the conditions described in the aforementioned license. The license
7 # is also available online at http://www.enthought.com/licenses/BSD.txt
8 #
9 # Thanks for using Enthought open source!
10
11 """ Some messages! """
12
13 from acme.motd.api import Message
14
15 messages = [
16 Message(
17 author="Bertrand Meyer",
18 text="You can have quality software, or you can have pointer"
19 " arithmetic; but you cannot have both at the same time.",
20 ),
21 Message(
22 author="Edsger W. Dijkstra",
23 text="The effective programmer is keenly aware of the limited size"
24 " of his own head.",
25 ),
26 Message(
27 author="Richard Buckminster-Fuller",
28 text="When I'm working on a problem, I never think about beauty. I"
29 " think only how to solve the problem. But when I have finished, if"
30 " the solution is not beautiful, I know it is wrong.",
31 ),
32 Message(
33 author="Tom Gilb",
34 text="If you don't know what you're doing, don't do it on a large"
35 " scale.",
36 ),
37 Message(
38 author="Arthur Norman",
39 text="The best way to implement hard code is never to know you're"
40 " implementing it.",
41 ),
42 Message(
43 author="Albert Einstein",
44 text="Any intelligent fool can make things bigger, more complex,"
45 " and more violent. It takes a touch of genius - and a lot of courage"
46 " - to move in the opposite direction.",
47 ),
48 Message(
49 author="Martin Fowler",
50 text="Any fool can write code that a computer can understand. Good"
51 " programmers write code that humans can understand.",
52 ),
53 Message(
54 author="Chet Hendrickson",
55 text="The rule is, 'Do the simplest thing that could possibly"
56 " work', not the most stupid.",
57 ),
58 Message(
59 author="Ron Jeffries",
60 text="If you're working sixty hour weeks, you're too tired to be"
61 " doing good software.",
62 ),
63 Message(
64 author="Edward Tufte",
65 text="Clutter and confusion are failures of design, not attributes"
66 " of information. There's no such thing as information overload.",
67 ),
68 ]