DEV Community

Cover image for My first experience using python.
Mugoya Dihfahsih
Mugoya Dihfahsih

Posted on

My first experience using python.

I started using Python Programming Language, this was after me and my team landed on a project that necessitated python and majority of my teamates decided that its the language we were to use, ofcourse i had to adopt.

I had no time to learn the language basics then use it in the project.
I was assigned a module that required routine deliverables. For the first three weeks i struggled putting the logic together.

I decided to use rudementary python methods that were dirty code to experienced pythonistas, we developed the first web application with the help of django framework which made the work alot easier.

But consquently after a year now, i jave gained some skills coding in django and now i have resorted to going back to dirty code that i wrote first and updating it with new clean python logic.

Am not so good in python but after a year of coding with it, i have experienced a drift in my coding skills, and i have promised myself to do more python and become a pythonista one day.

Thanks python community

Top comments (4)

Collapse
 
waylonwalker profile image
Waylon Walker

It takes time to learn and really internalize everything. Though I would say the feeling of your code from sux months ago looking "dirty" doesn't go away. Resist the urge to clean it up just because it's dirty. Clean up things that you need to modify or things that have bugs. Otherwise you will look back in another six months with the same feeling, and have end up in perpetual refactoring.

Collapse
 
dihfahsih1 profile image
Mugoya Dihfahsih

@Waylon,thanks for those kind words, just that one time when i wanted some help, i posted three times on stackoverflow forum to get help but experienced pythonistas commented negative on my dirty ill-structured python code and they could not even help me so they have been working on my logical skills of coding to make it look cool and as of now at least am on a smooth road i can say as i can code a full module without googling for logic.

Collapse
 
waylonwalker profile image
Waylon Walker

You're welcome. It's sad to see you had such a bad first experience with the python community. I think that writing good pythonic code is important. It makes it easier for anyone, including yourself, read your code and follow it's intent. That said I don't think the community should be so aggressive to put you down for writing non pythonit code. Especially if you are still learning, making an effort to improve yourself, and getting things done along the way.

Thread Thread
 
dihfahsih1 profile image
Mugoya Dihfahsih

But i feel that the criticism of the community enabled and empowered me to always think through what am coding despite that am learning the language, but nevertheless i have made use of django documentation to learn more pythonic way of coding..