Aleksandr Hovhannisyan
Aleksandr Hovhannisyan
@kroseberry Glad you figured it out! The reason `light = new Light()` works in my `TEST_METHOD_INITIALIZE` is because `light` is declared as a private member variable as part of this...
@lz89 In this case, the circular dependency is a pretty classic characteristic of the state design pattern. More on that here: [https://sourcemaking.com/design_patterns/state](https://sourcemaking.com/design_patterns/state). Specifically, see the `Check list` section.
@iandownie07 Hey! Just to clarify, the `enter` and `exit` methods are part of the `LightState` interface, meaning they are only used by the light states themselves and not the `Light`...
This is a really good question! And I think you're right. Practically speaking, there's no difference between unitless line height and absolute line height since you get the same result...
@iam-yan Done! See this new section: [Absolute vs. Unitless Line Height: Which Should You Use?](https://www.aleksandrhovhannisyan.com/blog/dont-use-a-fixed-line-height/#absolute-vs-unitless-line-height-which-should-you-use). I also updated the code samples and my site's own CSS.
@jephjohnson Thanks, Jeph! I looked at your sandbox but couldn't spot the example you're referring to. Could you clarify/share what the data looks like?
Hi @zhandosweb, Yup, I'm only generating WebP images at the moment, and it's working fine. Per best practices, though, you're right—I should really be generating different variations of my images...
@pedalracer I'm not familiar with that. Sorry that I can't be of any help here!
@fxmt2009 Thank you! Glad you liked the article 😄
Hi @weav797, Thanks for reaching out. I can actually relate to these struggles... In particular: > I've tried reading other people's ideas like "Student grade application, Product inventory, etc." They...