[VV32] java architecture book, time formatter, react fragment, golang practice course, scrum empiricism, gpt joke

[VV32] java architecture book, time formatter, react fragment, golang practice course, scrum empiricism, gpt joke

[GIFT] ?? FREE JAVA BOOK: "Hands-On Software Architecture with Java ($41.99 Value) FREE for a Limited Time" (before 5 April)

No alt text provided for this image

Well-written software architecture is the core of an efficient and scalable enterprise application.

https://lnkd.in/gfQwgF_j

Java, the most widespread technology in current enterprises, provides complete toolkits ?? to support the implementation of a well-designed architecture.

This book starts with the fundamentals of architecture and takes you through the basic components of application architecture.

You'll cover the different types of software architectural patterns???? and application integration patterns and learn about their most widespread implementation in Java.

You'll then explore cloud-native architectures ?? and best practices for enhancing existing applications to better suit a cloud-enabled world.

Later, the book highlights some cross-cutting concerns and the importance of monitoring and tracing for planning the evolution of the software, foreseeing ?? predictable maintenance, and troubleshooting.

The book concludes with an analysis of the current status of software architectures in Java programming and offers insights into transforming your architecture to reduce technical debt ??.

By the end of this software architecture book, you'll have acquired some of the most valuable and in-demand software architect skills ?? ?? to progress in your career.

Download???https://lnkd.in/gfQwgF_j

#free?#java?#architecture?#book

?



???JAVA CERTIFICATION QUESTION: Time formatter

Given the following code fragment:

String pattern = "dd MMM yyyy HH:mm";

DateTimeFormatter formatter = DateTimeFormatter.ofPattern(pattern);

LocalDate x = LocalDate.of(2022, 11, 1);

System.out.println(formatter.format(x));        

What is the result if the default locale is en_US? Choose one.

  • 01 Nov 2022 is printed.
  • 01 11 2022 is printed.
  • 01 N 2022 is printed.
  • 01 November 2022 is printed.
  • Compilation fails.
  • A runtime exception occurs.

#java?#certificationquestion?#ocp

Answer:

A LocalDate does not carry any time information, so an attempt to access these values cannot be fulfilled in any sensible way.

Rather than present dummy values, the implementation of LocalDate throws an exception in response to requests it cannot properly fulfill.

Exception in thread "main" java.time.temporal.UnsupportedTemporalTypeException: 
Unsupported field: HourOfDay        

Therefore, A runtime exception occurs.

Note:

The generalization TemporalAccessor, which is an interface, declares the same access methods regardless of the capabilities of the implementing class.

Therefore, you can conclude that any code that attempts to access potentially unsupported fields through this interface will not generate compilation errors.

This means that option "Compilation fails." is incorrect.

?



QUOTE ???

No alt text provided for this image
Noisy comments are annoying and useless. Don't use comments in a getter, setter, constructor, and other obvious situations.

?



?? REACT: Fragment the fast & memory-efficient way

We all use <div> whenever we work in HTML to make containers ?? or wrap elements in one element.

return (
??<div>
??  ?<Component1 />
     <Component2 />
     <Component3 />
  </div>
)        

to return multiple components wrapped into a div so we can group them.

In most cases, that div is unnecessary and takes extra space in the DOM.

But in React 16.2, React introduces the 'Fragment' feature ??.

React Fragment works exactly like a div, you can wrap or group multiple elements with Fragments:

return (
??<React.Fragment>
???  <Component1 />
     <Component2 />
     <Component3 />
  </React.Fragment>
)        

or with the shorthand?(<></>):

return (
??<>
  ???<Component1 />
     <Component2 />
     <Component3 />
  </>
)        

There are advantages to using Fragments:

1?? It is fast: the div element creates a node in DOM and occupies some space ?? but React Fragments never creates any node in DOM and never occupies any space ???.

2?? It is a more Readable DOM ??: having lots of nested div makes the DOM large and hard to read and debug, but with Fragments, it gets cleaner ??.

#react?#fragment?#fullstack

?



?? NEW COURSE: Go/Golang Professional Interview Questions

Prepare your Go/Golang job interviews with these practice tests containing 50 professional Go/Golang questions.

?



SCRUM: Empiricism is an Essential Element of Scrum by?Mark Noneman, Scrum Trainer

Empiricism is the most important ?? element to understand to get Scrum to work in your environment.

Empiricism is a philosophy ?? ♂? that we learn best from our actual experiences.

Using empiricism helps us solve complex problems. ??

To explain empiricism, let us use an analogy with a thermostat ??.

How does a thermostat work?

First, it samples the temperature in the room or inspects it as we say in empiricism, and then based on comparing that inspected temperature with a goal temperature, the set temperature on a thermostat. It adapts, and it decides how to adjust the temperature to get closer to the goal ??.

So if it's too above the set temperature ??, it calls for air conditioning to move the temperature down toward the goal, or?if the temperature is too low ??, it calls for heat to move it up toward the goal or if it's right at the goal ?? or near the goal, it doesn't do anything right now, but we'll inspect ??? again shortly.

Now, to make empiricism work, there are three 3?? things that you have to have besides this inspect/adapt feedback loop.

1?? First of all, to know what the goal ?? is, here is the thermostat set temperature.

2?? Then there's another thing is to inspect/adapt ??? frequently enough to keep the temperature under control. So imagine if you had a thermostat that you bought at a discount store that only samples the temperature once a day, like at 2 PM. You sample the temperature and it's too hot so turn on the air conditioning, and we check again tomorrow that's going to be very uncomfortable. Between now and then so we have to sample frequently enough our inspected frequently enough to keep it under control ?? ??.

3?? Lastly, there is a last aspect: transparency which is to know what is exactly going on. So that we can adapt to the environment.

?? Remember that empiricism is an essential element of Scrum and it is the critical way by which we can emerge the best-fit solution to complex problems.

Src. video?????https://lnkd.in/gCw6Y6bD

#scrum?#empiricism?#empiricismLikeAThermostat

?



????GPT JOKE

GPT-5: can build any website, Design, Video

GPT-6: can build and run a startup and grow it into a corporate company

GPT-7: It will cooperate with people through robots (Boston dynamics)

GPT-8: every ruler will have a ruler as an adviser and in the end, it will be the other way around

GPT-9: does not understand how to work with developers and their management systems (Jira, Zoho, Azure Devops), gives up, and asks people for help ??

要查看或添加评论,请登录

Vincent Vauban的更多文章

社区洞察

其他会员也浏览了