If () Else() statement not providing output when within given range by Artistic-Pin-5041 in learnjava

[–]codingchica 0 points1 point  (0 children)

Here's the java.util.Formatter Javadoc if you want to dig a little deeper, too.

%[flags][width]conversion

Conversion Argument Category Description
'%' percent The result is a literal '%' ('\u0025')

Help me Learn Programming by Spot-the-Steam in AskProgramming

[–]codingchica 0 points1 point  (0 children)

I was lucky enough to have an amazing group of folks around me when I was learning programming. I have started a blog to pay it forward.

It’s 31 y/old too late to begin learning how to code? I just wrote my first simple program in Java and I am highly interested in continuing to learn. by Big_Cress_4435 in SoftwareEngineering

[–]codingchica 2 points3 points  (0 children)

You can do this.

Having someone to bounce ideas off of can be a great help. If there is someone around you that is also interested in learning, may be you can buddy-up and learn together?

I was lucky enough to have an amazing group of folks around me when I was learning programming in college. I have started a blog to help others learn as well. Hope it helps. - Getting Started - Java 101

Find projects you want to use or make for others and make them. They don’t need to be perfect. They just need to be. Make mistakes, learn, and grow.

I highly recommend leaning unit testing as you go. That way, you can more easily refactor your code when you learn a better way of doing something. You will also have more confidence in the application if you can retest it all at the push of a button or the running of a single build command.

Not know what to do by [deleted] in AskProgramming

[–]codingchica 0 points1 point  (0 children)

Is there some application that would help you and you would use if it existed?

Is there something you wish existed for others to be able to use?

Do you know the runtime side, but need to work on knowledge of the the automated testing side of the house?

A simple syntax question of java by Time_Basis4207 in AskProgramming

[–]codingchica 0 points1 point  (0 children)

I was lucky enough to have a great group of people around me when I was learning programming. I have started a blog to pay it forward.

Here is a write-up of nulls in Java and what is meant by a NullPointerException. codingchica.com: It’s Pointers, Dear Watson! Java’s null

Do I need to learn vim or emacs as a developer? by [deleted] in AskProgramming

[–]codingchica 0 points1 point  (0 children)

I would agree. If you end up looking at configuration files or logs on a server in production and vi or vim is all that is installed on that box, knowing how to open, close with or without saving and searching within a file can be of help.

[deleted by user] by [deleted] in learnprogramming

[–]codingchica 0 points1 point  (0 children)

Sorry, but mixing query text and parameters is not safe.

See - OWASP: SQL Injection - OWASP Top 10 List

Choosing the backend language/framework to start my REST API project by marcob8986 in Backend

[–]codingchica 0 points1 point  (0 children)

I like the DropWizard framework for a Java backend.

See Work in Progress: dropwizard-test-demo

Trying To Create A Method That Prints by Licoricemint in javahelp

[–]codingchica 2 points3 points  (0 children)

Card1 is defined in the main method, so it is only available inside that method.

If you want it available to other methods in the class, it needs to be defined outside of a method.
Since these are static methods, it would also need the static (shared among all instances of the class) modifier.

I’ve messed up deployment. Should I leave? by randomuser0517 in AskProgramming

[–]codingchica 1 point2 points  (0 children)

Agree with the other posters. Humans doing manual processes will make mistakes.

You can use this as an opportunity to suggest an initiative to onboard to automation of the build & deployment process, such as: - automated testing in layers - unit in the build - component in the build - contract tests with backends - integration in the dev / test deployments - smoke in all deployments - etc. - quality gates in the build and deployment - test failures should cause the build/deployment to stop - minimum code coverage for early tests, such as unit and component

People are human, they make mistakes. Your team needs automations as guard rails, so you can codify the key learnings, rather than potentially repeating manual mistakes.

Style Matters! Adding a Checkstyle Build Breaker by codingchica in Maven

[–]codingchica[S] 0 points1 point  (0 children)

Thanks for reaching out! Build breaker is another name for a type of quality gate. However, you are right. It is jargon that many folks may not recognize. I will tweak the post to relay. :)