Tellugodu Posted March 13 Report Posted March 13 32 minutes ago, dasari4kntr said: solid …very important… if someone knows…solid …they know the dependency injection….and next they kbow how it is useful in unit tests… Aa concepts telisthe , vadu mee company ki interview ki enduku vasthadu anna, eepudo FAANG lo principle/sr. Engineer avthadu gani. Thx Quote
dasari4kntr Posted March 13 Author Report Posted March 13 2 minutes ago, Tellugodu said: Aa concepts telisthe , vadu mee company ki interview ki enduku vasthadu anna, eepudo FAANG lo principle/sr. Engineer avthadu gani. Thx ఆ concept ఏదో …ఆలీబాబా..అద్బత దీపం కాదు….FAANG అంటే ఏదో అపర స్వర్గం కాదు… అయినా మా కంపెనీకి ఏమి తక్కువా..? Quote
Konebhar6 Posted March 13 Report Posted March 13 1 hour ago, Spartan said: frankly....interviews ki tappa...real world daily work lo does anyone even care about these anna.. SOLID, ACID... etc vatillo unna concepts over the period experience to ostai....but desining or coding appudu I havent seen anyone bring this up and adhere to them.. unless someone wants to play Devils Advocate during the session.... @Konebhar6 @dasari4kntr @csrcsr I never even heard about them. We mostly use SAAS solutions, AI agents, APIs, integration tools, etc. Quote
enigmatic Posted March 13 Report Posted March 13 23 minutes ago, dasari4kntr said: అయినా మా కంపెనీకి ఏమి తక్కువా..? Company peru chepthe decide cheyocchu Cool that your company is still hiring. Remote jobs vunnaya Quote
Paamu Posted March 13 Report Posted March 13 1 hour ago, dasari4kntr said: simple example…springboot లో ప్రతి class లో @Autowired అని రాస్తాం…అది ఎందుకు అంటే…దానికి ఆది మూలం ఇదే… This is bad ani monna read…. using that annotation for dependency injection Quote
Tellugodu Posted March 13 Report Posted March 13 38 minutes ago, dasari4kntr said: ఆ concept ఏదో …ఆలీబాబా..అద్బత దీపం కాదు….FAANG అంటే ఏదో అపర స్వర్గం కాదు… అయినా మా కంపెనీకి ఏమి తక్కువా..? Compensation takkuva ani and no WFH ani talku.. GS ae kada meru. Quote
dasari4kntr Posted March 13 Author Report Posted March 13 13 minutes ago, enigmatic said: Company peru chepthe decide cheyocchu Cool that your company is still hiring. Remote jobs vunnaya yes.. Quote
dasari4kntr Posted March 13 Author Report Posted March 13 11 minutes ago, Paamu said: This is bad ani monna read…. using that annotation for dependency injection post here… Quote
dasari4kntr Posted March 13 Author Report Posted March 13 2 minutes ago, Tellugodu said: Compensation takkuva ani and no WFH ani talku.. GS ae kada meru. కాదు… Quote
Thokkalee Posted March 13 Report Posted March 13 3 hours ago, Spartan said: frankly....interviews ki tappa...real world daily work lo does anyone even care about these anna.. SOLID, ACID... etc vatillo unna concepts over the period experience to ostai....but desining or coding appudu I havent seen anyone bring this up and adhere to them.. unless someone wants to play Devils Advocate during the session.... @Konebhar6 @dasari4kntr @csrcsr Naku kuda ee madhya telisindi solid principles gurinchi.. but I know the concepts and implemented for several years.. Quote
Thokkalee Posted March 14 Report Posted March 14 2 hours ago, dasari4kntr said: sare.. @Spartan @Mr Mirchi...ee code ki unit test ela raastro.. cheppandi.... class OrderService { private final SqlDatabase database; private final FileLogger logger; public OrderService() { this.database = new SqlDatabase(); this.logger = new FileLogger(); } public void processOrder(Order order) { try { database.save(order); logger.log("Order processed: " + order.getId()); } catch (Exception e) { logger.log("Error processing order: " + e.getMessage()); } } } 1 Quote
anna_gari_maata Posted March 14 Report Posted March 14 Dependency injection far more easier than SOLID. ee kaalam lo Spring vacchaka kooda DI questions ante driver role ki car mechanic interview chesinattu untadi... SOLID daka kooda evadu rayatle because most of the legacy code founders rastaru only new project aithe tappa. IMO ippudu vacche developers ki end-to-end and system level knowledge is more important than foundations and principles. If we want to hire a butler they don't need to know how the building pillars are made But again it also depends on the role they're hiring Quote
anna_gari_maata Posted March 14 Report Posted March 14 2 hours ago, dasari4kntr said: sare.. @Spartan @Mr Mirchi...ee code ki unit test ela raastro.. cheppandi.... class OrderService { private final SqlDatabase database; private final FileLogger logger; public OrderService() { this.database = new SqlDatabase(); this.logger = new FileLogger(); } public void processOrder(Order order) { try { database.save(order); logger.log("Order processed: " + order.getId()); } catch (Exception e) { logger.log("Error processing order: " + e.getMessage()); } } } Use reflection to set mock object to database and verify save method is called Quote
dasari4kntr Posted March 14 Author Report Posted March 14 7 minutes ago, anna_gari_maata said: Use reflection to set mock object to database and verify save method is called there are object initializations using NEW keyword…in the constructor..how do you deal with them..? Quote
enigmatic Posted March 14 Report Posted March 14 2 hours ago, dasari4kntr said: sare.. @Spartan @Mr Mirchi...ee code ki unit test ela raastro.. cheppandi.... class OrderService { private final SqlDatabase database; private final FileLogger logger; public OrderService() { this.database = new SqlDatabase(); this.logger = new FileLogger(); } public void processOrder(Order order) { try { database.save(order); logger.log("Order processed: " + order.getId()); } catch (Exception e) { logger.log("Error processing order: " + e.getMessage()); } } } copiot write unit test for this block 😁 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.