<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/sources/tds/best-of/2022/04" -->

---
title: Best Towards Data Science posts — April 2022 | daily.dev
description: The most upvoted Towards Data Science posts from April 2022, curated by the daily.dev community.
canonical: https://daily.dev/sources/tds/best-of/2022/04
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:url: https://daily.dev/sources/tds/best-of/2022/04
og:type: website
og:site_name: daily.dev
og:title: Best Towards Data Science posts — April 2022 | daily.dev
og:description: The most upvoted Towards Data Science posts from April 2022, curated by the daily.dev community.
og:image: https://media.daily.dev/image/upload/s--VAY5ToZt--/f_auto/v1724209435/public/daily.dev%20-%20open%20graph
---

# Best of Towards Data Science — April 2022

1. 1  
[](https://daily.dev/posts/5-books-to-help-you-write-better-code-e0oiw7i-y "5 Books To Help You Write Better Code")  
Article  
![Avatar of tds](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/tds)Towards Data Science · 4y  
5 Books To Help You Write Better Code  
The ability to write good code is often more valuable than what your code does. If your code is clean, well-organized, and easy to read and follow, your value as a programmer will be pretty high. I read many books about software engineering and writing code, and the 5 books I will talk about today are my favorite ones.  
31  
2
2. 2  
[](https://daily.dev/posts/7-code-smells-you-should-know-about-and-avoid-qev9i-xbi "7 Code Smells You Should Know About And Avoid")  
Article  
![Avatar of tds](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/tds)Towards Data Science · 4y  
7 Code Smells You Should Know About And Avoid  
A code smell can be thought of as smelling gas or smoke in your home. It serves as an indicative warning that your code needs some attention. Bad code smells can be an indicator of factors that contribute to technical debt. Duplicate code is the most common code smell you’ll find in programs.  
23
3. 3  
[](https://daily.dev/posts/automate-whatsapp-messages-with-python-in-3-steps-t3ttcu5wr "Automate WhatsApp Messages with Python in 3 Steps")  
Article  
![Avatar of tds](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/tds)Towards Data Science · 4y  
Automate WhatsApp Messages with Python in 3 Steps  
Python lets you send WhatsApp messages to any of your contacts or even to a group. To send a message to a contact with Python and pywhatkit, we use the .sendwhatmsg method as shown in the code below. We can also send messages to a specific group on WhatsApp, but first, we have to get the group id.  
21
4. 4  
[](https://daily.dev/posts/5-things-that-will-instantly-make-your-python-code-more-pythonic-ixpjcxz-s "5 Things That Will Instantly Make Your Python Code More Pythonic")  
Article  
![Avatar of tds](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/tds)Towards Data Science · 4y  
5 Things That Will Instantly Make Your Python Code More Pythonic  
The rules of one language don’t necessarily apply to another. Many programmers who code in various languages get caught in this trap too. Taking time to understand the best practices of a language is beneficial to not only yourself but to others who have to collaborate with you. 5 Things That Will Instantly Make Your Python Code More Pythonic.  
19  
1
5. 5  
[](https://daily.dev/posts/python-is-about-to-become-64-faster-python-3-10-vs-python-3-11-benchmark-0hudccvvw "Python is About to Become 64% Faster — Python 3.10 vs. Python 3.11 Benchmark")  
Article  
![Avatar of tds](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/tds)Towards Data Science · 4y  
Python is About to Become 64% Faster — Python 3.10 vs. Python 3.11 Benchmark  
Python 3.11 is expected to air in October 2022\. The new version is marginally slower on some benchmarks, but on the others, it’s up to 64% faster. I ran the benchmarks on M1 Pro MacBook Pro 16 with a 10-core CPU.  
13

[See all Towards Data Science archives](/sources/tds/best-of)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@graph":[{"@type":"CollectionPage","@id":"https://daily.dev/sources/tds/best-of/2022/04#page","url":"https://daily.dev/sources/tds/best-of/2022/04","name":"Best Towards Data Science Posts — April 2022","description":"The most upvoted Towards Data Science posts from April 2022, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/sources/tds/best-of/2022/04#items","numberOfItems":5,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/5-books-to-help-you-write-better-code-e0oiw7i-y","name":"5 Books To Help You Write Better Code"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/7-code-smells-you-should-know-about-and-avoid-qev9i-xbi","name":"7 Code Smells You Should Know About And Avoid"},{"@type":"ListItem","position":3,"url":"https://daily.dev/posts/automate-whatsapp-messages-with-python-in-3-steps-t3ttcu5wr","name":"Automate WhatsApp Messages with Python in 3 Steps"},{"@type":"ListItem","position":4,"url":"https://daily.dev/posts/5-things-that-will-instantly-make-your-python-code-more-pythonic-ixpjcxz-s","name":"5 Things That Will Instantly Make Your Python Code More Pythonic"},{"@type":"ListItem","position":5,"url":"https://daily.dev/posts/python-is-about-to-become-64-faster-python-3-10-vs-python-3-11-benchmark-0hudccvvw","name":"Python is About to Become 64% Faster — Python 3.10 vs. Python 3.11 Benchmark"}]},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Sources","item":"https://daily.dev/sources"},{"@type":"ListItem","position":3,"name":"Towards Data Science","item":"https://daily.dev/sources/tds"},{"@type":"ListItem","position":4,"name":"Best of","item":"https://daily.dev/sources/tds/best-of"},{"@type":"ListItem","position":5,"name":"April 2022"}]}]}
```

