Home Explore Settings

Search

Alican Donmez
Alican Donmez @flowfelis ยท Jan 20
Day 56/100 of #100DaysOfPythonTips ๐Ÿ zip(strict=True) is your silent bug killer. It forces iterables to have the same length instead of quietly truncating data. #Python #pythonlearn #100DaysOfCodef
43
Alican Donmez
Alican Donmez @flowfelis ยท Jan 16
Day 55/100 of #100DaysOfPythonTips ๐Ÿ Did you know there are 5 ways to merge dicts in python! Do you know any other way? #Python #pythonlearn #100DaysOfCodej
4
Alican Donmez
Alican Donmez @flowfelis ยท Jan 14
Day 54/100 of #100DaysOfPythonTips ๐Ÿ Python has a weird superpower: True and False are actually numbers. Yep โ€” True == 1 and False == 0. #Python #pythonlearn #100DaysOfCode5
15
Alican Donmez
Alican Donmez @flowfelis ยท Jan 13
Day 53/100 of #100DaysOfPythonTips ๐Ÿ Put * in a function signature to force keyword-only arguments. #Python #pythonlearn #100DaysOfCodeC
5
Alican Donmez
Alican Donmez @flowfelis ยท Jan 12
Day 52/100 of #100DaysOfPythonTips ๐Ÿ dict.setdefault for setting default values for dicts #Python #pythonlearn #100DaysOfCode8
4
Alican Donmez
Alican Donmez @flowfelis ยท Jan 11
Day 51/100 of #100DaysOfPythonTips ๐Ÿ Most if / elif chains are a code smell. If your logic looks like this: โ€œIf A do this, if B do thatโ€ฆโ€ You probably need a dispatch table โ€” not more ifs. Use a dictionary that maps keys โ†’ functions. #Python #pythonlearn #100DaysOfCode3
17
Alican Donmez
Alican Donmez @flowfelis ยท Jan 8
Day 50/100 of #100DaysOfPythonTips ๐Ÿ Suppress errors like a pro #Python #pythonlearn #100DaysOfCoded
7
Alican Donmez
Alican Donmez @flowfelis ยท Jan 6
Day 49/100 of #100DaysOfPythonTips ๐Ÿ If a function is pure, Python can safely cache it and skip recomputation. #Python #pythonlearn #100DaysOfCodea
5
Alican Donmez
Alican Donmez @flowfelis ยท Jan 2
Day 48/100 of #100DaysOfPythonTips ๐Ÿ EAFP! #Python #pythonlearn #100DaysOfCodem
7
Alican Donmez
Alican Donmez @flowfelis ยท Dec 30, 2025
Day 47/100 of #100DaysOfPythonTips ๐Ÿ If you are counting things, Counter is your superpower. collections.Counter gives you: โ€ข instant counts โ€ข most common items #Python #pythonlearn #100DaysOfCodeQ
13
Alican Donmez
Alican Donmez @flowfelis ยท Dec 29, 2025
Day 46/100 of #100DaysOfPythonTips ๐Ÿ Pythonโ€™s for loop has an else. The else block runs only if the loop didnโ€™t break. โ€œIf I never found it, do this.โ€ Itโ€™s perfect for search logic โ€” clean, readable, and almost nobody uses it.๐Ÿง ๐Ÿ #Python #pythonlearn #100DaysOfCodeqYY
6
Alican Donmez
Alican Donmez @flowfelis ยท Dec 26, 2025
Day 45/100 of #100DaysOfPythonTips ๐Ÿ Using lists for everything in Python is like using a hammer for every tool. It worksโ€ฆ until performance matters. #Python #pythonlearn #100DaysOfCode7
6
Alican Donmez
Alican Donmez @flowfelis ยท Dec 25, 2025
Day 44/100 of #100DaysOfPythonTips ๐Ÿ sum() is one of those tools people think they know, but barely use 30% of its power. Here are real, practical examples. #Python #pythonlearn #100DaysOfCode7
11
Alican Donmez
Alican Donmez @flowfelis ยท Dec 24, 2025
Day 43/100 of #100DaysOfPythonTips ๐Ÿ Use sorted with key Write code that explains itself. Python gives you the tools โ€” use them. #Python #pythonlearn #100DaysOfCodeJ
6
Alican Donmez
Alican Donmez @flowfelis ยท Dec 23, 2025
Day 42/100 of #100DaysOfPythonTips ๐Ÿ * set is implemented as a hash table โ†’ average O(1) lookup * list is a dynamic array โ†’ O(n) linear scan * If you care about existence, use a set. * If you care about order or duplicates, use a list. #Python #pythonlearn #100DaysOfCodeK
19
Alican Donmez
Alican Donmez @flowfelis ยท Dec 18, 2025
Day 41/100 of #100DaysOfPythonTips ๐Ÿ zip your jacket to keep warm :) #Python #pythonlearn #100DaysOfCodej
4
Alican Donmez
Alican Donmez @flowfelis ยท Dec 17, 2025
Day 41/100 of #100DaysOfPythonTips ๐Ÿ Sick and tired of KeyError? Say hello to my little friend: defaultdict #Python #pythonlearn #100DaysOfCodeT
13
Alican Donmez
Alican Donmez @flowfelis ยท Dec 16, 2025
Day 40/100 of #100DaysOfPythonTips ๐Ÿ Need index of a list when you loop over? enumerate to the rescue! #Python #pythonlearn #100DaysOfCodeX
13
Alican Donmez
Alican Donmez @flowfelis ยท Dec 11, 2025
Day 39/100 of #100DaysOfPythonTips ๐Ÿ Most Basic explanation of Python generators. p.s. : the one you can understand #Python #pythonlearn #100DaysOfCodeg
8
Alican Donmez
Alican Donmez @flowfelis ยท Dec 9, 2025
Day 38/100 of #100DaysOfPythonTips ๐Ÿ: Why __name gets mangled to _Class__name Itโ€™s not for security. Itโ€™s not real privacy. Itโ€™s simply to prevent accidental overrides in subclasses. #Python #pythonlearn #100DaysOfCode2
1
17
Load more

Trends

1 ยท Trending
Uber Eats
2 ยท Trending
#UFCSeattle
Sports ยท Trending
3 ยท Trending
Izzy
Sports ยท Trending
4 ยท Trending
#ENGENES_MADE_ENHYPEN_7
Trending worldwide
5 ยท Trending
่จญๅ–ถๅฎŒไบ†
Only on X ยท Trending
Horizon Web