Jump to content

Recommended Posts

Posted
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

Posted
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 అంటే ఏదో అపర స్వర్గం కాదు… 

అయినా మా కంపెనీకి ఏమి తక్కువా..?

Posted
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. 

Posted
23 minutes ago, dasari4kntr said:

అయినా మా కంపెనీకి ఏమి తక్కువా..?

Company peru chepthe decide cheyocchu :)

Cool that your company is still hiring. Remote jobs vunnaya

Posted
1 hour ago, dasari4kntr said:

simple example…springboot లో ప్రతి class లో @Autowired  అని రాస్తాం…అది ఎందుకు అంటే…దానికి ఆది మూలం ఇదే…

This is bad ani monna read…. using that annotation for dependency injection 

Posted
38 minutes ago, dasari4kntr said:

ఆ concept ఏదో …ఆలీబాబా..అద్బత దీపం కాదు….FAANG అంటే ఏదో అపర స్వర్గం కాదు… 

అయినా మా కంపెనీకి ఏమి తక్కువా..?

Compensation takkuva ani and no WFH ani talku.. GS ae kada meru. 

cc515e6f62bead98390ab8ba5e6da338.gif

Posted
13 minutes ago, enigmatic said:

Company peru chepthe decide cheyocchu :)

Cool that your company is still hiring. Remote jobs vunnaya

yes..

Posted
11 minutes ago, Paamu said:

This is bad ani monna read…. using that annotation for dependency injection 

post here…

Posted
2 minutes ago, Tellugodu said:

Compensation takkuva ani and no WFH ani talku.. GS ae kada meru. 

cc515e6f62bead98390ab8ba5e6da338.gif

కాదు…

Posted
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.. 

Posted
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());
        }
    }
}

 

bhibatsam-brahmanandam.gif

  • Haha 1
Posted

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

Posted
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

Posted
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..?

Posted
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 😁

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...