Index: pages/coding-style.html |
=================================================================== |
--- a/pages/coding-style.html |
+++ b/pages/coding-style.html |
@@ -47,6 +47,7 @@ |
<li>{{python-prefix In modules, prefix private functions and variables with a single underscore.}}</li> |
<li>{{python-concatenation Use the <code><fix>+</fix></code> operator when concatenating exactly two strings, use the <a href="https://docs.python.org/2/library/stdtypes.html#str.format"><code><fix>format()</fix></code> method</a> for more complex string formatting, use the <a href="https://docs.python.org/2/library/stdtypes.html#str.join"><code><fix>join()</fix></code> method</a> when concatenating pre-existing sequences.}}</li> |
<li>{{python-tuple-vs-list Use tuples for data that have structure, use lists for data that have order.}}</li> |
+ <li>{{python-regexp Use <a href="https://docs.python.org/2/library/re.html#re.search"><code><fix>re.search()</fix></code></a> instead <a href="https://docs.python.org/2/library/re.html#re.match"><code><fix>re.match()</fix></code></a> to avoid confusion about implied begin of string.}}</li> |
Vasily Kuznetsov
2016/04/20 12:11:18
I think "beginning of the string" would be better
Sebastian Noack
2016/05/11 16:20:02
Yeah, I agree. I was just tried to keep in short,
|
</ul> |
<h2 id="java">{{s22 Java}}</h2> |