/* Previous */ import { Component } from '../../../directory/sub-directory' /* Now */ import { Component } from '@directory/sub-directory'Continue reading “Creating path alias in React project”
Category: Learning
Digging into Cypress Testing Framework
I always wanted to dig into Cypress, to see if it lives upto the hype. I suggested my employer we implement e2e testing on one of the projects and they gave me the green signal.
Awesome! Only problem, I know jack-shit about cypress.
Continue reading “Digging into Cypress Testing Framework”Day 13: Dictionaries in Python
Dictionaries are almost similar to Javascript objects. Its a data structure which holds data in key-value pairs.
Continue reading “Day 13: Dictionaries in Python”Day 12: Lists in Python
Similar to arrays in javascript, Lists are ordered collection of values in Python.
Continue reading “Day 12: Lists in Python”Day 11: Functions in Python
Functions are reusable blocks of code. We do that by defining a function block and invoke it in later stages of the code.
Continue reading “Day 11: Functions in Python”Day 10: Loops in Python
Just like javascript or any other programming languages, python offers ways to run repetitive code using while
or for
loops.
Day 9: Booleans & Comparison
Using operators to compare values that yields True/Truthy or False/Falsey
Continue reading “Day 9: Booleans & Comparison”Day 8: Methods in Python
Methods are functions attached to an object
Continue reading “Day 8: Methods in Python”Day 7: Type casting in python
Like many languages, python can coerce values of certain types to something else. Unlike javascript, python is bit more strict about type casting.
Continue reading “Day 7: Type casting in python”Day 6: Strings in Python
>>> website = "https://soumilroy.com is my site"
>>> website
'https://soumilroy.com is my site'
Continue reading “Day 6: Strings in Python”