+ 8

Should I use libraries or create my own methods?

(Edit: One thing I'm concerned about is, do they prefer codes with libraries or codes with my own methods in interviews, jobs or tests? The other thing is, does it increase the execution time when I use my own methods instead of libraries because it adds more lines of code?) Maybe those are insignificant but I would like to know for sure (: So which way is better to write Java programs when it comes to: 1. Interviews/jobs/tests 2. Efficiency

29th Jul 2019, 8:14 AM
Tashila Pathum
Tashila Pathum - avatar
12 Answers
+ 7
If library is supporting the feature you need, I prefer to use the library - No need to re-invent the wheel...;-) Hope this helps....!!!
29th Jul 2019, 8:52 AM
Kuri
Kuri - avatar
+ 3
I'd say it all depends. If it's something small, sometimes it's easier/better to implement the method than use a large library just for something small
29th Jul 2019, 9:02 AM
Rohbot
+ 2
No need to re-invent the wheel.
29th Jul 2019, 8:44 AM
Sonic
Sonic - avatar
+ 2
Both options are crucial to implement in your programming life because at the beginning you need to learn how code works and how code should be written. And after that you can use libraries to enhance your coding skill.
30th Jul 2019, 3:04 AM
mohit verma
mohit verma - avatar
+ 2
Y'all have not answered the question, which is better, when it comes to *interview, tests.*
30th Jul 2019, 9:30 PM
Fredericks
Fredericks - avatar
+ 2
~ swim ~ Apparently you're still coming back to what I was talking about. You need the basic understanding without libraries cuz sometimes, you can't always have them handy. I know libraries are almost inevitable. But personally, I rate a professional by what they can do by themselves and not how well they can follow other programmers' rule.
30th Jul 2019, 10:21 PM
Fredericks
Fredericks - avatar
+ 1
Is better to create your own methods to improve your programming knowledge
29th Jul 2019, 1:29 PM
Isaac Jordan
Isaac Jordan - avatar
+ 1
Š¢Š°Ń‚ŃŒŃŠ½Š° ŠžŠ³ŃƒŃ€Ń†Š¾Š²Š° what is going on with your keyboard?šŸ˜€šŸ˜€šŸ˜€
30th Jul 2019, 9:32 PM
Fredericks
Fredericks - avatar
+ 1
~ swim ~ Fredericks Thank you for your answers šŸ™‚
31st Jul 2019, 2:47 AM
Tashila Pathum
Tashila Pathum - avatar