ArjanCodes (@ArjanCodes) header
ArjanCodes (@ArjanCodes) profile picture

I help people become better at software development and design.

Utrecht
Joined September 2014
Photo by ArjanCodes (@ArjanCodes)Photo by ArjanCodes (@ArjanCodes)Photo by ArjanCodes (@ArjanCodes)Photo by ArjanCodes (@ArjanCodes)Photo by ArjanCodes (@ArjanCodes)Photo by ArjanCodes (@ArjanCodes)Photo by ArjanCodes (@ArjanCodes)Photo by ArjanCodes (@ArjanCodes)Photo by ArjanCodes (@ArjanCodes)Photo by ArjanCodes (@ArjanCodes)
Poetry makes it easy to build and publish Python packages. You can build a package using ‘poetry build’ and publish it to PyPI using ‘poetry publish’. If you want to learn more about virtual environments and poetry, follow me on Instagram: instagram.com/arjancodes #poetrypython
3
2
32
3,339
It can be tricky when different packages in Python run into compatibility issues. With poetry, you can easily create virtual environments in Python and say goodbye to the problem for good! Watch this week’s video to learn more: youtu.be/0f3moPe_bhk #virtualenv #poetry
1
28
2,405
Trying to print variable names for debugging in Python? Here's a quick and easy tip: use the {var=} syntax in f-strings instead of {var} to easily print out the variable name and its value. For more f-strings tips, follow me on Instagram: instagram.com/arjancodes #FstringsPython
2
8
23
1,921
If you have a column with a small number of unique values, consider using the category data type. This can significantly reduce the memory usage of the column. To learn more tips about pandas’ data types, see my Instagram post: instagram.com/arjancodes #pandas #datatypes
3
13
1,364
Struggling with large datasets that slow down your work? 🐼  Learn how to handle them efficiently with pandas' data types. Check out this week’s video: youtu.be/uVy23GEehpc #pandas #largedata #datatypes
1
1
10
1,531
I always use a main() function to prevent polluting the module namespace with variables that can be declared locally in main(). For more software design and development tips, follow my Instagram: instagram.com/arjancodes #pythoncodingtips #pythonprogramming #pythonstyleguide
2
10
1,162
Do you know the GRASP design principles? I think they’re actually better suited to Python code than the SOLID principles. What do you think? To learn more about GRASP, see my Instagram post: instagram.com/arjancodes #graspdesignprinciples #graspsoftwaredesignprinciples
5
7
1,181
GRASP is a set of design principles that help you design flexible and maintainable software systems. Watch this week’s video to learn more about GRASP: youtu.be/fGNF6wuD-fg #graspdesignprinciples #graspsoftwaredesignprinciples #graspprinciplesexplained #graspprinciples
2
15
1,248
ArjanCodes retweeted
Use the "with" statement to ensure that the context manager's enter() method is called at the start of the block and its exit() method is called at the end of the block. For more tips, follow me on Instagram: instagram.com/arjancodes #ContextManagers #Python #Programming
7
9
1,290
ArjanCodes retweeted
Building your own Python package? Keep in mind to document your code and choose a suitable license. This makes it easier for other developers to use and work with your code. Follow me on Instagram for more packaging tips: instagram.com/arjancodes #CodePackaging #OpenSource
2
13
945
ArjanCodes retweeted
Do you want to know how to build and publish a complete Python package? Watch this week’s video for a step-by-step guide, from organizing your project to publishing it on PyPI: youtu.be/5KEObONUkik #pythonpackage #howtodevelopapythonpackage #buildingacompletepackage
5
36
2,311
Expand your skillset with simple calculators, chatbots, and metrics collection tools! Check out my 14 fun and free-time Python projects, including 3 that can make you some money. Follow me on Instagram for details: instagram.com/arjancodes #Python #SideProjects #SkillDevelopment
2
9
1,036
Looking for a new hobby or side project with Python? Look no further! Check out today's video for 14 exciting ideas to dive into. Whether you're a beginner or an advanced programmer, there's something for everyone! #Python #Programming #Hobbies #SideProjects
3
6
42
2,728
In imperative languages like Python, variables can be accessed and changed at any time. In contrast, declarative languages bind variables to expressions with single values during their lifetime. For more tips, follow my Instagram: instagram.com/arjancodes #functionalprogramming
4
10
1,129
Need complex data validation? Check out Pydantic! Strict type hints and fast development, but beware of its reliance on inheritance. For more tips, follow me on Instagram: instagram.com/arjancodes #Python #Dataclasses #Attrs #Pydantic #Programming #Coding
4
14
1,164
Dataclasses, attrs, or Pydantic? In today’s video, I’m comparing the three to help you decide which one you should use: youtu.be/zN4VCb0LbQI #Python #Dataclasses #Attrs #Pydantic #Programming #Coding
1
7
71
3,520
To me, ABCs conceptually "belong" with their subclasses. Protocols "belong" at the place where they're used. For more tips on Protocols and ABCs, follow me on Instagram: instagram.com/arjancodes #Protocols #ABCs #Coupling
1
1
6
1,083
Do you want to learn advanced functional programming using lambda and partial function applications? Take your coding skills to the next level and join my new Python class on Skillshare! Join this link to get 30 days of free platform access: skl.sh/3ZQkUEN 🚀
1
7
824
Want to make your FastAPI endpoints a breeze? Make sure to use Python type hints for request and response data! This will automatically generate OpenAPI docs and using Pydantic for data validation makes things even easier. For more tips, follow me here: instagram.com/arjancodes
1
3
18
1,145
Have you already joined my class Next-Level Python on Skillshare? The class is tailored to take your Python skills to the next level! Use this link to get access to the platform for 30 days for free: skl.sh/3ZQkUEN 🚀 #Python #Programming #NextLevelPython #Skillshare
3
9
990