HN user

gh0zt

53 karma
Posts4
Comments16
View on HN

in my experience when it comes to sofas the old "buy cheap buy twice" holds true. there are reputable brands such as ligne roset for example. they are pricey bit if you can commit to buying and owning for > 15 years. owning a clam and a togo for more than ten years and the are basically like new. foam & fabric. i understand this might unaffordable to a lot of people but buying second hand can be a great deal on high end sofas.

„ We’re updating our prices to bring you more great entertainment. Your monthly price will increase by €2 to €17.99 on 9 March 2021“

As you are asking for books - Scala for the impatient (http://www.horstmann.com/scala/) - Programming in Scala (https://booksites.artima.com/programming_in_scala_3ed)

I found those books very good resources. The Scala website lists a few others (https://www.scala-lang.org/documentation/books.html)

Aprt from that I found Daniel Westheides blog a very good starting point (http://danielwestheide.com/scala/neophytes.html)

I like the idea but i don't like the actual implementation. For example: Number::tan takes an array of flags as an argument but only one flag is ever used to determine which kind of tangent method is eventually executed. For me as a user this does not only complicate the usage but it is also potentially (microoptimizationwise) slower because of the necessary condition check.

So instead of

  $number = new Number(4.2);
  $number->tan(array(Number::TRIG_ARC))
why not just implementing it as a separate method?
  $number->atan();

I also started using CodeIgniter and i also had, at some point , the feeling that it "just doesn't feel right". If you want to learn a new language i'd probably go with RoR otherwise take your existing PHP skills and use Symfony 2 (http://symfony.com/). It definitly has a steeper learning curve than CodeIgniter but i couldn't think of a single point why i would prefer CodeIgniter over Symfony 2 now.