I am have been working on a payment method where I need Current Quote
So I used
\Magento\Checkout\Model\SessionFactory $checkoutSession
and then get Quote from the Checkout session using
$this->_checkoutSession->create()->getQuote()
one of my fellow developer who was reviewing my code has told me to use Session
instead of SessionFactory
I know some differences but I am not sure why he changed it and what you guys prefer to use
I have checked This Question but haven't got a satisfactory answer
Thank you