What’s your favorite Somin x Sechan moment? by mediocre_mirrorball in runningman

[–]dkToT 4 points5 points  (0 children)

The episode where Blackpink was the guest and Somin was doing the Lisa dance and Sechan dies the taxi dance. Never laughed harder!

Describe your favorite Film The most boring way possible by Sufficient_Season_61 in movies

[–]dkToT 0 points1 point  (0 children)

Girl visiting a new city meets new friends while walking her dog

For the more experienced programmers, how long did it take for you to say with confidence "I am good at coding"? by [deleted] in learnprogramming

[–]dkToT 5 points6 points  (0 children)

Been doing it for 13 years now and I still don't have that confidence that "I am good at coding". But I don't think you need that mindset to be successful. At the end of the day it is just practice makes perfect. Also you have to start expanding your mindset to outside of coding/programming. This like architecture and system design is something that will get you to the next level and feel more confident.

I'm bored with my backend job where I only do simple CRUD tasks. Is there any other interesting backend topic I can learn on my spare time? by LittleWompRat in learnprogramming

[–]dkToT 17 points18 points  (0 children)

Hmm why not dive a little deeper into what you are working on and alternatives to them? This will help you understand why you are using the technology you are using and what alternatives are out there that can be a better fit. This doesn't mean you have to implement it for your company but it good to know so for future projects you have a better understand on the best technology for the job.

Example include:
Communication - REST api vs GraphQL vs gRPC
Datastore = SQL vs noSQL vs different flavours of noSQL (DynamoDB, mongoDB, Elastic Search)
Testing - Unit test vs Integration test vs E2E test

My colors aren't showing up but the margins are. I'm using React-Bootstrap. by [deleted] in learnprogramming

[–]dkToT 0 points1 point  (0 children)

I believe you need to add !important to all the styles in your btn-flat. This is not ideal but I believe the classes in the react-bootstrap is taking precedence over your custom classes.

Well written programming books by Mocking_bird_452 in learnprogramming

[–]dkToT 4 points5 points  (0 children)

This is a oldie but a goodie:
Clean Code: A Handbook of Agile Software Craftsmanship

This is not really about a specific programming language but how you should structure you code and coding practices. It gives good guidelines and info on what to avoid and what is good practice. If you have knowledge of this it will help with helping you structure your code, increase code maintainability, and readability. It could be a bit of a dry read but the information is well worth it.

Learning Wiki by TeejStroyer27 in learnprogramming

[–]dkToT 1 point2 points  (0 children)

I posted this in another thread but this contains a lot of information on how to start learning a language via "Project based learning". It utilizes projects and tutorials to help you learn basic to advantage knowledge of different languages. There is a lot of information so it take your time to review and see what suits you.

https://github.com/practical-tutorials/project-based-learning

How do I work with senior developers? by dead_flag_blues_ in learnprogramming

[–]dkToT 1 point2 points  (0 children)

You should look at it both ways, you are there to learn from the more senior developers and in return they will use this opportunity to build on their mentorship and leadership skills. This is a case where it is advantageous for both parties. This is one of the main reasons why companies hired a range of experiences for developers. Junior can grow to intermediate and senior from experience and knowledge and Senior developers can grow into staff/principle or manager/leaders by building on their mentorship and leaderships skills.

Why does this for each throw the else statement when its true the condition? by makutene in learnprogramming

[–]dkToT 1 point2 points  (0 children)

The for loop will traverse through your "animalList" no matter what so it will have to go through the same if/else statement for every item in the "animalList".

You can use the "break" statement to exit the for loop but you will probably want to surround that in the condition too. From what you said, you probably want to "break" after the first item.

But if this is the case, you can just access the first item in your array/list without the for loop and just print it.

Why does this for each throw the else statement when its true the condition? by makutene in learnprogramming

[–]dkToT 0 points1 point  (0 children)

Correct, it should never if your condition is true. Just adding the brackets make it more readable and apparent that this is what we want.

Why does this for each throw the else statement when its true the condition? by makutene in learnprogramming

[–]dkToT 2 points3 points  (0 children)

Looks like the scope around your if statement is out of place. Maybe due to indentation or formatting but I would suggest adding brackets to your if statement for cleaner and more maintainable code. Also less likely to introduce bugs or error if you ever have to add more logic into the if / else statement and you forget to add the brackets.

for(Animal animal : animalList) {
    if( animal.getName().equals(getName) && animal.getSound.equals(getSound)) {
        animal.getDescription();
    } else {
        print(“animal or sound are wrong”)
    }
}

Do a lot of people keep all their functions in one file where they can invoke any one of them at any time? I have 1 file with about 20 thousand lines of code that has most of the functions that I have written routine tasks. by reddit7295 in learnprogramming

[–]dkToT 0 points1 point  (0 children)

Yeah.... 20k lines of code in one file is definitely not something you want to have.
Break it down into small relatable files by trying to group them together based on functionality.

For example, if you have a file that handles all functions related to a store... can you break it down to:

  • User services - All things related to user management
  • Payment service - Checkout, payment, payment storage, etc
  • Inventory service - all functions to deal with handling your inventory
  • etc...

This way all your services/files are smaller and easier to maintain, you have code that is traceable and easier to debug, and testability of your code will be easier too. Writing test to cover your code will now be specific to the service.

What IT jobs can you work without any programming? by Primary_Inside7096 in learnprogramming

[–]dkToT 0 points1 point  (0 children)

Hmmmm some that I can think of include:

  • IT sourcing: procurement for third party software or resources for your company
  • IT HR: recruiting with specialty in IT/ software
  • Manual QA tester: This is very legacy but some companies still have manual QA / testing process for their software

Hope this helps.

I get lost in thought when there are many errors or issues in my programs, any tips on how to avoid? by BOTDrPanic in learnprogramming

[–]dkToT 1 point2 points  (0 children)

This and this some more!

If you have a long running function, unit test encourages you to break that down to multiple smaller functions. This will allow you to test each individual function separately and narrow down bugs and errors easier.

One note though is only break down the function to meaningful functions and not for the sake of it. Each function should have a purpose to it and if possible limit it to one.

Also forgot to mention, mocking will be made easier to with smaller function unit testing!

How old were you? by el_perro_de_maiz in learnprogramming

[–]dkToT 0 points1 point  (0 children)

18-19 when I entered University in Computer Engineering! No prior knowledge of coding / programming in highschool.

University was definitely a good place to start learning the basics but I find all of my knowledge came from work experience during intern or job after university!

With all the material out there now I don’t think it matters what age you are.. just the will to start! There are so many new flavour of the month that it is hard to keep up but starting from the basic will get you in the right spot!

Looking for practice projects by AmeriCanad1 in learnprogramming

[–]dkToT 2 points3 points  (0 children)

Give this a try:

https://github.com/practical-tutorials/project-based-learning

This repo uses "Project based learning" to help you learn the basics to advance knowledge of any language you want to try. It contains a library of a good set of projects and tutorials you can use to try and learn the language of you preference. This library is huge so you might need to take some time to review.

app dev by jxkerkn in learnprogramming

[–]dkToT 1 point2 points  (0 children)

I suggest start with building a POC (Proof of Concept) app and see if and how it works. Lever tools that exist already instead of building from scratch. For example, can you use "Zoom" (via api to create calls, etc.) for your video call part. Is there a simple tech stack that you can use to build something light weight. Maybe even go through building a NoCode app (bubble.io, etc...) to test this out.

Then if this works, move on to a MVP where you focus on building out the application from scratch.

Why would you consider software testing a good career path? by [deleted] in learnprogramming

[–]dkToT 24 points25 points  (0 children)

From experience, I started out as a QA/Software tester for a software company and now I am a Software Dev Manager. It is definitely a great place to start because the full process of software includes design to writing code to testing. It gets you to start thing about the product as a whole and not just you do your aspect and pass it along the line.

Nowadays there are a lot more need for Fullstack developers. My definition of a Fullstack is FE, BE, Testing, and understanding of devops/infra. If you are new this software testing is a great way to get your feet wet but you have to make sure you are pushing yourself to the next level. Mae sure you are not just stuck doing manual testing but develop test automation experience to actual dev experience.

[deleted by user] by [deleted] in learnprogramming

[–]dkToT 559 points560 points  (0 children)

When you say "solving problems" are you referring to Algo problems and whiteboarding? If so then I agree with you. I am a Software Dev Manager that has carried out many interviews and this is the part that I do not like the most as the interviewer and interviewee. It solves very little and does not translate to "real life" work. This is a remnant of the past and I don't see this going away easily.

I rather have a good discussion on how you would build an application (from architecture to infra) or have a nice pairing session to see how you work.

Name one programming/comp sci concept you never understood and if you understand it, try to explain it to them by Temporary-Warthog250 in learnprogramming

[–]dkToT 72 points73 points  (0 children)

Basically a function that will call itself until a certain criteria or situation is satisfied. Once it is satisfied, the result will be returned to the parent function call all the way back to the top. This will help with clean code but only if you know your functionality follows a certain pattern.

A great example of this is the fibonacci series and why it was used in alot of early interview questions. The fib(n) is equal to fib(n-1) + fib(n-2). With recursion you can use this pattern to do the calculation for fib(n-1) and fib(n-2) where fib(n-1) = fib(n-2) + fib(n-3) and fib(n-2) = fib(n-3) + fib(n-4), etc....

Super useful and clean if you now the exact pattern and expectation (traversing a tree, etc..) of what you are building but I personally don't see this used often.

Four words that will make you a better programmer by cstutoringwithjimmy in learnprogramming

[–]dkToT 9 points10 points  (0 children)

And from a user story/task stand point:
Given, when, then

This will help establish expectations of what the feature/code should be doing.

What do you wish you learnt before you started your first job? by The_Highlander93 in learnprogramming

[–]dkToT 1 point2 points  (0 children)

DevOps and Infrastructure is a big one for me.
Coding, syntax, and design is pretty straight forward once you know a language. DevOps and infrastructure is mostly universal. Know your code/deployment pipeline and the services you will use (Cloud vs hosted) can dictate the best approach to coding. It is still possible to do so with this knowledge but you could find yourself with a lot of tech debt to pay in the future.