diff options
Diffstat (limited to 'pipermail/pycrypto/2009q2/000092.html')
-rw-r--r-- | pipermail/pycrypto/2009q2/000092.html | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/pipermail/pycrypto/2009q2/000092.html b/pipermail/pycrypto/2009q2/000092.html new file mode 100644 index 0000000..5272d5a --- /dev/null +++ b/pipermail/pycrypto/2009q2/000092.html @@ -0,0 +1,97 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [pycrypto] Library design philosophy + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:pycrypto%40lists.dlitz.net?Subject=%5Bpycrypto%5D%20Library%20design%20philosophy&In-Reply-To=49E558C4.9050602%40echeque.com"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000091.html"> + <LINK REL="Next" HREF="000093.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[pycrypto] Library design philosophy</H1> + <B>Mads Kiilerich</B> + <A HREF="mailto:pycrypto%40lists.dlitz.net?Subject=%5Bpycrypto%5D%20Library%20design%20philosophy&In-Reply-To=49E558C4.9050602%40echeque.com" + TITLE="[pycrypto] Library design philosophy">mads at kiilerich.com + </A><BR> + <I>Wed Apr 15 17:01:32 CST 2009</I> + <P><UL> + <LI>Previous message: <A HREF="000091.html">[pycrypto] Library design philosophy +</A></li> + <LI>Next message: <A HREF="000093.html">[pycrypto] DES/DES3/XOR/etc removal +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#92">[ date ]</a> + <a href="thread.html#92">[ thread ]</a> + <a href="subject.html#92">[ subject ]</a> + <a href="author.html#92">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>James A. Donald wrote, On 04/15/2009 05:47 AM: +><i> Dwayne C. Litzenberger wrote: +</I>><i> > M2crypto's API is neither simple nor Pythonic, +</I>><i> +</I>><i> What makes PyCryto pythonic, and M2crytpo unpythonic, +</I>><i> apart from the fact that M2Crypto wraps a very large +</I>><i> random aggregation of stuff that was concocted over many +</I>><i> years by overly large and excessively official +</I>><i> committees? +</I>><i> +</I> +You could say that if it has been designed with python in mind then it +is pythonic. That doesn't necessarily make it any better than the +opposite, even though we must expect a bit python fanboyism here on a +python list ;-) + +The "apart" you mention could be a good reason for calling m2crypto +"unpythonic". For a wrapper of a library one of the goals should be to +provide an api as close to the original as possible so that existing +examples and documentation can be used, so being called "unpythonic" +isnt' necessarily a bad thing. + +Looking at it again m2crypto isn't as bad as I remember it, and I don't +know it well enough to give any examples of where it is bad. + +Pycrypto do have the freedom to provide the best possible API and +(AFAIK) a goal of being as simple as possible and as much in the python +tradition as possible. + +Which one is "best" is probably mostly a matter of requirements and +preferences. + +/Mads + +-------------- next part -------------- +A non-text attachment was scrubbed... +Name: smime.p7s +Type: application/pkcs7-signature +Size: 3435 bytes +Desc: S/MIME Cryptographic Signature +Url : <A HREF="http://lists.dlitz.net/pipermail/pycrypto/attachments/20090416/c5777667/attachment.bin">http://lists.dlitz.net/pipermail/pycrypto/attachments/20090416/c5777667/attachment.bin</A> +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000091.html">[pycrypto] Library design philosophy +</A></li> + <LI>Next message: <A HREF="000093.html">[pycrypto] DES/DES3/XOR/etc removal +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#92">[ date ]</a> + <a href="thread.html#92">[ thread ]</a> + <a href="subject.html#92">[ subject ]</a> + <a href="author.html#92">[ 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> |