Coding Chica

@codingchica
5 Followers
0 Following
63 Posts
Hi, I'm Heather. I've been a software engineer since 2006, but am keenly aware of how intimidating it can be to dip your toes into the waters of computer programming. I was lucky enough to have an amazing group of gals acting as my rock during college while learning to program. However, not everyone is so fortunate.
PronounsShe / Her
Bloghttps://codingchica.wordpress.com
Git Hubhttps://github.com/codingchica

The OWASP Top-10 is an important resource for novice and experienced programmers alike. Even if you are just starting to program, knowing about the OWASP Top-10 and having some familiarity with it may help you improve your own code. #security #code

http://codingchica.com/2023/11/20/owasp-top-10/

Learning from Other’s Mistakes! The OWASP Top 10

The Open Worldwide Application Security Project (OWASP) foundation compiles a list of the top 10 web application security issues, updated every few years, to help developers understand potential pi…

Coding Chica

Understanding a Java stack trace can be important when troubleshooting errors in a Java application. Stack traces can tell us about the exception thrown as well as the method calls that resulted in that exception. #java #exceptionHandling #stackTrace

http://codingchica.com/2023/11/16/reading-the-tea-leaves-understanding-java-stack-traces-for-exception-troubleshooting/

Reading the Tea Leaves! Understanding Java Stack Traces for Exception Troubleshooting

Understanding a Java stack trace is often useful while troubleshooting issues. Stack traces contain both information about the exception thrown and the incomplete method call(s) to reach the line o…

Coding Chica

Java method references are a replacement for lambda expressions that aid in clarity and brevity when the lambda expression would only reference an existing, named method.

http://codingchica.com/2023/11/13/method-references/

Method References

This article discusses how Java method references can replace lambda expressions in certain situations, simplifying the code and increasing its clarity. Method references, indicated by a double col…

Coding Chica

Java streams and the corresponding operation pipelines are useful to perform calculations and transformations on collections, ranges and other types of related inputs. #java #streams #lambdaExpressions #pipelines

http://codingchica.com/2023/11/09/java-stream-basics/

A Trickle or a Flood! Java Stream Basics

Java streams, which is a feature for processing arrays, collections, or ranges of objects. Streams don’t store data and are recreated for each computation or pipeline. This guide covers multi…

Coding Chica

Lambda expressions are unnamed Java functions defined in-line in the source code where they are used. #java #lambdaExpressions #syntax

http://codingchica.com/2023/11/06/lambda-expressions/

Inline, Unnamed Methods! Lambda Expressions

Java’s lambda expressions, introduced in Java 8, are unnamed functions defined in-line within code. They have explicit inputs often sourced from Java streams and implicit inputs from variable…

Coding Chica

Although care is still needed Java's StringBuffer can aid in multi-threaded use cases when constructing a String that requires intermediate states. #java #StringBuffer #String #multithreaded #tdd #stepByStep #coding

http://codingchica.com/2023/11/02/building-as-we-go-javas-stringbuffer-for-multi-threaded-use-cases/

Building As We Go! Java’s StringBuffer for Multi-Threaded Use Cases

When your use case requires multiple threads to be able to construct a String in parallel, then Java’s StringBuffer may be what you need. However, additional synchronization logic may still b…

Coding Chica

Java's StringBuilder can improve the performance of complex String creation, as long as only one thread will access the builder. #java #stringbuilder #streams #performance #tdd #testdrivendevelopment

http://codingchica.com/2023/10/30/building-as-i-go-using-javas-string-builder-for-single-threads/

Building As I Go! Using Java’s String Builder for Single Threads

When building Java Strings, we can significantly improve performance by using a StringBuilder for single threaded use cases.

Coding Chica

Since Java Strings cannot be changed once created, if we need to construct a Java String with one or more variable(s) included, then we can use the format method. #java #string #syntax #performance #garbageCollection

http://codingchica.com/2023/10/26/the-immutable-java-string/

The Immutable Java String! Constructing a String When All Variables Known

Although we touched upon this in a prior post, talking about how Java Strings are immutable (unchanging) and why using concatenation can lead to performance and garbage collection issues, as well a…

Coding Chica

When you find yourself stuck while working on an issue, trying to power through may not be the best way to make progress. Instead, try to find a way to look at the problem with fresh eyes. #teamWork #coding #troubleshooting #help #issues

http://codingchica.com/2023/10/23/troubleshooting-tip-looking-with-fresh-eyes/

Troubleshooting Tip! Looking with Fresh Eyes

Powering through may not be the best way to make forward progress when you feel stuck while troubleshooting an issue. Instead, you may benefit from trying to find a way to look with fresh eyes, eit…

Coding Chica

The maven-pmd-plugin is another source of possible quality gates for our java build. It can help ensure that we only release code that meets the team's quality standards. #java #mavenBuild #qualityGates #maven-pmd-plugin

http://codingchica.com/2023/10/19/adding-maven-pmd-plugin/

Automating Parts of the Peer Review – Part 2! Adding Maven PMD Plugin

Different static code analysis plugins will catch different issues. As long as we are now slowing down the build too much, we may still benefit from also adding the maven-pmd-plugin to the build as…

Coding Chica