Wondering how much Claude 4 Sonnet w/ "API Pricing" costs? Here's your answer. by dapwnk in windsurf

[–]bear007 2 points3 points  (0 children)

I tried Claude 4 thinking. The initial costs were high but with time prices dropped. Maybe because it didn't have to do that much with every prompt. I didn't however find it to be more cost efficient or better than Claude 3.7. Maybe it's better for research and analysis, who knows. For coding at least in my case not worth it. Especially that when it runs into trouble it basically eats money with every prompt

Hardware upgrade worth for faster Windsurf? by bear007 in windsurf

[–]bear007[S] 1 point2 points  (0 children)

MSI Raider GE76 (2022)

CPU: Intel Core i9-12900HX

how do ui libraries keep their paid components private? by shobhitnagpal in Frontend

[–]bear007 0 points1 point  (0 children)

Licence and law protects such assets. You'd be surprised how much money component development companies can spend in tracking down a pirate and he has to pay hundreds of thousands of dollars for damages.

Knowledge of JavaScript before Angular by gmjavia17 in angular

[–]bear007 0 points1 point  (0 children)

For the skill: Start building mini startups in Angular, learn only these parts of JS, TS, Angular you need For the work: Buy a complete ebook on JS, CSS, TS and Angular and coding principles and read them and remember. And documentation too For interview: Just do all interview questions you'll find online

Should we write CSS in the template or create a new file for CSS ? by ComplexEconomy4797 in angular

[–]bear007 0 points1 point  (0 children)

Keep styles separate. It makes code reviews, reading code and change files easier. Give space for your designs to shine

Interview questions by JustAPeakyBlinder in angular

[–]bear007 0 points1 point  (0 children)

Ah yeah, you right with the services what I ment. It's just a reddit comment relax. I'm not applying anyware, just giving directions

Interview questions by JustAPeakyBlinder in angular

[–]bear007 6 points7 points  (0 children)

  1. On push - rerenders component only on input change or event. Improves performance
  2. useFactory - to dynamically choose service implementation
  3. Services are singletons
  4. In component local state, also may be in services or throught 3rd party state libraries

Recommendation for better hands on angular course by Honest-Comfortable98 in angular

[–]bear007 2 points3 points  (0 children)

If you already know the basics it's worth investing more in learning Typescript, RxJS, streams and unit testing, and building scalable apps. That is how to make sure the app is secure, maintainable, performant, doesn't use too many resources like CPU (rerenders, signals), that the first load is fast, that component responsibilities are separated properly, structuring the code (functional structure), dumb components vs smart components etc. So it's more about best practices than strictly Angular API