Back to Browse

Using JShell, Streams/Lambdas & Java 8 Date/Time API to Get Total Runtime of an Online Course

841 views
Nov 16, 2022
48:32

Visit our website @ 👉 https://neutrinosys.com 👈 for our free PDF guide on how to become a professional software developer with NO degree & NO experience ➡️ Java Course - https://www.udemy.com/course/neutrino-java-foundations/?referralCode=EC7DE9BFB95334F7D5F2 ➡️ Unix Course - https://www.udemy.com/course/essential-unix-skills-for-developers/?referralCode=8541F9716BFE43D90848 Twitter: https://twitter.com/NeutrinoSys ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ The course we're analyzing and its runtimes come from here: https://logosbynick.com/affinity-designer/ In this video, we'll use the Java JShell (REPL) to determine the total runtime of an online course by parsing and processing the runtimes of all the lessons of that course. At the end of the video, I run through all steps in real-time to show that it takes about 5 minutes. This is a neat little project because it combines many powerful and useful techniques such as: ⚪️ JShell for rapid prototyping/scripting of ideas in Java ⚪️ Regular Expressions (regex) for parsing text patterns from virtually any larger text ⚪️ Java Streams/Lambda API for streamlining a processing workflow using the Functional Programming paradigm ⚪️ Java 8 Date/Time API which has a rich & very easy-to-use API for dealing with all aspects of time ⚪️ How to break up a long line of code in JShell into multiple lines without triggering execution Additionally, I show Streams concepts graphically to help visualize how they're working.

Download

0 formats

No download links available.

Using JShell, Streams/Lambdas & Java 8 Date/Time API to Get Total Runtime of an Online Course | NatokHD