Into the world of high level language
Transitioning from C to python has increased my immense appreciation for everyone who has worked in this field to make it so accessible for people. The reduction of syntax into a simple language seemed quite easy at first but as I dived in I realized some shortcomings in my own learnings.
I was so used to declaring variable in its various forms that transitioning into one where the language picks up on its own was quite tough. Not in the simple sense where x = 2 rather than int x = 2. But in the way in which each function uses the data which limits my ability to manipulate it unless I changed the data type.
For instance I had to re-write a credit program that enables a credit card verification using Luhn’s Algorithm. I tried to use RegEx with the syntax ^\d{13,16} but I couldn’t execute the algorithms calculation without getting type error. After four hours of figuring ways to change the string to int – I moved on to use the int input strategy and finished the code.
Tomorrow I’m going to be working on DNA analysis using Python to check if the sequence provided matches any DNA data in a csv file. Looking forward to huddle through this and improve my skill.
Week 6 in progress.
Filed under: reflections - @