This week's book giveaway is in the General Computing forum.
We're giving away four copies of Emmy in the Key of Code and have Aimee Lucido on-line!
See this thread for details.
Win a copy of Emmy in the Key of Code this week in the General Computing forum!

satya Priya Sundar

Ranch Hand
+ Follow
since Oct 06, 2016
Cows and Likes
Cows
Total received
1
In last 30 days
0
Total given
0
Likes
Total received
4
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by satya Priya Sundar


We faced similar questions as to understand and migrate to Java 9 Module system to take advantages of performance improvement but we never went in that path because
that was not the whole purpose of the Java 9 modules system,my understanding of what Nicolai mentioned on this post


" it indexes JARs on the module path by the packages they contain, making class-loading a little faster because the loader knows which JAR to check for which package"

.

is a very similar reference  that I found here on the Oracle-Java site

"Improved performance—The JVM uses various optimization techniques to improve application performance. JSR 376 indicates that these techniques are more effective when it’s known in advance that required types are located only in specific modules.
"
understanding-java-9-module

Please correct me if i am wrong in comparing both these statements
2 months ago
Dear Author,

In theory, we know that the advantages of using Java module system are

It provides a reliable configuration and strong encapsulation that would prevent

1. Brittle, error-prone classpath (AKA JAR Hell)
Ref:webpage

2. JDK into modules so that we only use what we need contrary to the prior JDK versions
Ref: webpage

what are the other selling points that Java 9 modularity presents?

Thanks
Sathya
2 months ago
In order to use Java 9, my understanding is java doesn't prevent one from doing away with using modules
is that a correct statement?
2 months ago
With myriad frameworks on the market and then there is so-called "know all
experts" with their own take on the top programming languages to learn in 2018,2019 ...
Invariably JavaScript tops the list, so for anyone to venture into the IT job market
What would you recommend as the starting point if they wanted to learn a frontend framework?

I strongly believe they should start with the pure vanilla Javascript such as yours ...
Coming from java background I don't have much idea about the various types of inheritance in javascript

I just chanced upon this blog and which has a very interesting take on the javascript inheritance types

webpage


Class Inheritance: instances inherit from classes (like a blueprint — a description of the class), and create sub-class relationships: hierarchical class taxonomies. Instances are typically instantiated via constructor functions with the new keyword. Class inheritance may or may not use the class keyword from ES6.

Prototypal Inheritance: instances inherit directly from other objects. Instances are typically instantiated via factory functions or Object.create(). Instances may be composed of many different objects, allowing for easy selective inheritance.

Good to hear:

Classes: create tight coupling or hierarchies/taxonomies.
Prototypes: mentions of concatenative inheritance, prototype delegation, functional inheritance, object composition.


Dear Author,

Every other day we get to see a flavor of the JavaScript framework. In your opinion
what are the factors that contributed to this explosion of the frameworks, which no other languages could imagine?

Thanks
Sathya
Code written in Java is generally considered as boilerplate, that is so true with all the previous versions holds good on Java 7 as well, not anymore...
Java8 alleviate some of these issues by moving to more functional style for the new APIs, thus your code looks a lot simpler and elegant it focuses on
what you want to do and not how to do it.
11 months ago
Dear Authors,

Not sure, if you have already created some video lessons.

I am a big fan of Plularlsight and Livelession courses, not to mention some quality courses you might stumble upon
in Udemy as well for a cup of Java's price. Any thoughts or interest in those lines?

Thanks
Sathya Priya
11 months ago
This title brings a question, Are we moving quickly with java revisions with this frenetic pace?

With Java 12 on the horizon, there are zillions of developer still fiddling with pre Java8 code base.
or writing code using pre-java8 coding constructs with JDK 1.8......

11 months ago
This is a great reference Replace Loops with Piple line



Though this looks elegant and simple, a lot of thoughts must go before venturing into it, we should not end up doing re-writing in lieu of Refactoring.


11 months ago
Java 12 is around the corner, After Java 8's major release Java 9,10,11 came  out with no earth-shattering improvements or features

But honestly, how many software companies really adopted Java8 as their primary programing language.I am seeing companies upgrading their infrastructures
merely because the Tools and Server ecosystem fast adopted java8, but most of the software houses are yet to embrace Java 8 as their fundamental
programming platform...

What are the factors which you think contributing to this blockage?
11 months ago

AWS Lambda's pricing model is "pay as you go", so the customers pay only for the computing resources used. This makes the service very cost-efficient, not to mention a free trial period. In fact, the users pay for the used memory, the number of processed code requests and the code execution time rounded up by 100 milliseconds. Just compare it with the hourly EC2 billing rate and witness the granularity and level of control available when using AWS Lambda. Instead of 24/7 availability common for IaaS, PaaS and SaaS cloud pyramid layers, AWS Lambda is event-driven. The code executes only when it's needed and consumes zero resources when not triggered. Obviously, this is a huge benefit for applications that are quiet for a long time and then have to meet the demand for resources during the peaks of usage.
Lambda has a setting called the "Number of concurrent requests", which allows it to scale nearly instantly to a huge number of parallel code execution processes. Downscale is as simple — the unneeded functions stop running automatically once the code is executed.




No offense here, but you are talking about something irrelevant here on this forum .. and its even more annoying if you don't know what you are talking about...

Java 8 Lambda is a language feature that enabled java as a modern programming language moving closure to a functional programming paradigm, in the third edition of The Effective Java, Joshua Bloch he recommends

Lambdas are the best way to represent small function objects. Don’t use anonymous classes for function objects unless you have to create instances of types that aren’t functional interfaces



Here is a link for a good introduction for you on Java 8 Lambda Expression  Quick Introduction to Java Lambda expression
11 months ago
You just need to know few basics that are fundamental to the language, features like Interfaces and anonymous classes to ace Java 8 or Java's functional programming paradigm...
11 months ago

A common use case for programs is to search through a collection of data to find items that match specific criteria.......

  Application of Lamda in a combination of streams, in this case, produces clean & elegant and simple solution .. .try it out!!!

11 months ago