blob: 74c6f160d8f22f8968cd37386a5fdceb827a78c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [pycrypto] Once again: Python3 with PyCrypto
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:pycrypto%40lists.dlitz.net?Subject=%5Bpycrypto%5D%20Once%20again%3A%20Python3%20with%20PyCrypto&In-Reply-To=4D18B7BA.30604%40gmx.li">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="000328.html">
<LINK REL="Next" HREF="000338.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[pycrypto] Once again: Python3 with PyCrypto</H1>
<B>Thorsten Behrens</B>
<A HREF="mailto:pycrypto%40lists.dlitz.net?Subject=%5Bpycrypto%5D%20Once%20again%3A%20Python3%20with%20PyCrypto&In-Reply-To=4D18B7BA.30604%40gmx.li"
TITLE="[pycrypto] Once again: Python3 with PyCrypto">sbehrens at gmx.li
</A><BR>
<I>Mon Dec 27 13:47:47 CST 2010</I>
<P><UL>
<LI>Previous message: <A HREF="000328.html">[pycrypto] Once again: Python3 with PyCrypto
</A></li>
<LI>Next message: <A HREF="000338.html">[pycrypto] Once again: Python3 with PyCrypto
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#329">[ date ]</a>
<a href="thread.html#329">[ thread ]</a>
<a href="subject.html#329">[ subject ]</a>
<a href="author.html#329">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Replying to myself, pathetic ...
I thought about the question of helper functions some more while
repairing the snow-blower. I am going to use helpers, not redefine
existing functions, because:
- No potential for shooting self in foot
- Code becomes self-documenting as far as text/data strings go. It'll be
blatantly obvious what is a text string (expected result, for example),
and what is data string (byte string)
- Easier to maintain. No "why's there an ord() there? Why's it behave
like that? Huh?!?"
Nothing to see here, move along :).
Thorsten
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="000328.html">[pycrypto] Once again: Python3 with PyCrypto
</A></li>
<LI>Next message: <A HREF="000338.html">[pycrypto] Once again: Python3 with PyCrypto
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#329">[ date ]</a>
<a href="thread.html#329">[ thread ]</a>
<a href="subject.html#329">[ subject ]</a>
<a href="author.html#329">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.dlitz.net/cgi-bin/mailman/listinfo/pycrypto">More information about the pycrypto
mailing list</a><br>
</body></html>
|