What did you do this week?
This week I majorly worked on the following 3 Pull Requests:
Implemented multiple datatypes for pow and fabs functions #581
Currently in our codebase classes or templates are not implemented. So we have to overload for multiple datatypes like i64, i32, i16, i8, f64, f32 etc. I learned about testing and writing errors. I also got to know about the whole end to end process form writing the function to writing test files, writing errors and generating reference files.
capitalize and upper functions (String module) #669
String.py is a newly started module I'm working on. I have begun with the capitalize and upper functions to begin with. will soon write some error files and also add the necessarily needed lower function.
decimal module inititiated #679
Decimal.py is a newly started module I'm working on. After discussion with my mentor @gagandeep, I'll be designing this module differently from the other current modules. We'll be making a class for it and writing method functions instead of separate independent functions. I'n still a lil unsure how to go about it, so I'll study about it and implement accordingly.
What is coming up next?
The upcoming week I'll parallelly work on the decimal.py and the string.py modules while writing some error files as per our TDD system.
Did you get stuck anywhere?
I was facing issues in managing the return types of functions. There are often limited options to go with since a lot of things are yet to be implemented in the backend. The mentors patiently helped me resolve all issues whenever something came up.