Thursday, September 28, 2017

Scala Tutorial 5 - How to Install Scala IDE Windows 10 + First Scala Hel...

Wednesday, September 20, 2017

Scala Tutorial 4 - Data Types and Variables



Strong typing is very important in functional programming

Most scripting like Ruby, Python, etc. are dynamically typed, which is supposed to be one of their advantages.

Static typing makes programming much safer.

But sometimes types declarations become a burden.

Scala’s type inferencing mechanism minimizes the number of type declarations required.

It’s not uncommon for user code to have no explicit types.



Data Types Byte : 8 bit signed value. Range from -128 to 127

Short : 16 bit signed value. Range -32768 to 32767 Int : 32 bit signed value. Range -2147483648 to 2147483647

Long : 64 bit signed value. -9223372036854775808 to 9223372036854775807

Float : 32 bit IEEE 754 single-precision float

Double : 64 bit IEEE 754 double-precision float Char : 16 bit signed Unicode character. Range from U+0000 to U+FFFF

String : A sequence of Chars

Boolean : Either the literal true or the literal false Unit: Corresponds to no value : void

Null: null or empty reference

Nothing : The subtype of every other type; includes no values Any: The supertype of any type; any object is of type

Any : Java's Object class

AnyRef: The supertype of any reference type





-------------------------Follow-------------------

My Website - http://www.codebind.com

My Blog - https://goo.gl/Nd2pFn

My Facebook Page - https://goo.gl/eLp2cQ

Google+ - https://goo.gl/lvC5FX

Twitter - https://twitter.com/ProgrammingKnow

Pinterest - https://goo.gl/kCInUp

Text Case Converter - https://goo.gl/pVpcwL

Epoch Timestamp Converter - https://goo.gl/Zedjo5

Decimal - Binary - Hexadecimal Converter - https://goo.gl/rkX3JE

8-bit Checksum Calculator - https://goo.gl/inxvIT

Saturday, September 16, 2017

Scala Tutorial 3 - How to Install and Setup SBT on Windows 10





SBT (Scala Build Tool, formerly Simple Build Tool) is an open source build tool for Scala and Java projects, similar to Java's Maven and Ant. In this video I am going to show you How to Install and Setup SBT on Windows 10. Also i am going to show you How to execute sbt on Windows to open the interactive shell?



-------------------------Follow-------------------

My Website - http://www.codebind.com

My Blog - https://goo.gl/Nd2pFn

My Facebook Page - https://goo.gl/eLp2cQ

Google+ - https://goo.gl/lvC5FX

Twitter - https://twitter.com/ProgrammingKnow

Pinterest - https://goo.gl/kCInUp

Text Case Converter - https://goo.gl/pVpcwL

Epoch Timestamp Converter - https://goo.gl/Zedjo5

Decimal - Binary - Hexadecimal Converter - https://goo.gl/rkX3JE

8-bit Checksum Calculator - https://goo.gl/inxvIT

Scala Tutorial 2 - Introduction to SBT (Scala Build Tool)



SBT (Scala Build Tool, formerly Simple Build Tool) is an open source build tool for Scala and Java projects, similar to Java's Maven and Ant. SBT is a modern build tool. While it is written in Scala and provides many Scala conveniences, it is a general purpose build tool. sbt is the de facto build tool in the Scala.
Why SBT :
- Native support for compiling Scala code.
- Uses Apache Ivy for dependency management
- Only-update-on-request model
- Full Scala language support for creating tasks
- Support for mixed Java/Scala projects
- Launch REPL (Read–Eval–Print Loop) in project context.

-------------------------Follow-------------------
My Website -
http://www.codebind.com
My Blog -
https://goo.gl/Nd2pFn
My Facebook Page -
https://goo.gl/eLp2cQ
Google+ -
https://goo.gl/lvC5FX
Twitter -
https://twitter.com/ProgrammingKnow
Pinterest -
https://goo.gl/kCInUp
Text Case Converter -
https://goo.gl/pVpcwL
Epoch Timestamp Converter -
https://goo.gl/Zedjo5
Decimal - Binary - Hexadecimal Converter -
https://goo.gl/rkX3JE
8-bit Checksum Calculator -
https://goo.gl/inxvIT

Saturday, September 9, 2017

Scala Tutorial 1 - Introduction to Scala





- “Scala is an acronym for Scalable Language ”
- Scala is a modern multi-paradigm programming language designed to express common programming patterns in a concise, elegant, and type-safe way.
- Scala is written by Martin Odersky at EPFL.
- Scala is Statically Typed
- Scala Runs on JVM, full inter-op with Java.
- Scala is Object Oriented
- Scala is Functional
- Scala has Dynamic Features
- Scala is Scala blends object-oriented and functional programming in a statically typed language.

Tuesday, September 5, 2017

Redis Tutorial for Beginners 11 - Redis Publish Subscribe





SUBSCRIBE, UNSUBSCRIBE and PUBLISH implement the Publish/Subscribe messaging paradigm where senders (publishers) are not programmed to send their messages to specific receivers (subscribers).
PSUBSCRIBE pattern [pattern ...]
Listen for messages published to channels matching the given patterns
PUBSUB subcommand [argument [argument ...]]
Inspect the state of the Pub/Sub subsystem
PUBLISH channel message
Post a message to a channel
PUNSUBSCRIBE [pattern [pattern ...]]
Stop listening for messages posted to channels matching the given patterns
SUBSCRIBE channel [channel ...]
Listen for messages published to the given channels
UNSUBSCRIBE [channel [channel ...]]
Stop listening for messages posted to the given channels

-------------------------Follow-------------------
My Website -
http://www.codebind.com
My Blog -
https://goo.gl/Nd2pFn
My Facebook Page -
https://goo.gl/eLp2cQ
Google+ -
https://goo.gl/lvC5FX
Twitter -
https://twitter.com/ProgrammingKnow
Pinterest -
https://goo.gl/kCInUp
Text Case Converter -
https://goo.gl/pVpcwL
Epoch Timestamp Converter -
https://goo.gl/Zedjo5
Decimal - Binary - Hexadecimal Converter -
https://goo.gl/rkX3JE
8-bit Checksum Calculator -
https://goo.gl/inxvIT

Saturday, September 2, 2017

What Is JSON ?



“JSON” stands for “JavaScript Object Notation”
Despite the name, JSON is a (mostly) language-independent way of specifying objects as name-value pairs. Json Commonly used in Web as a vehicle to describe data being sent between systems. JSON or JavaScript Object Notation is a lightweight text-based open standard designed for human-readable data interchange.


-------------------------Follow-------------------
My Website -
http://www.codebind.com
My Blog -
https://goo.gl/Nd2pFn
My Facebook Page -
https://goo.gl/eLp2cQ
Google+ -
https://goo.gl/lvC5FX
Twitter -
https://twitter.com/ProgrammingKnow
Pinterest -
https://goo.gl/kCInUp
Text Case Converter -
https://goo.gl/pVpcwL
Epoch Timestamp Converter -
https://goo.gl/Zedjo5
Decimal - Binary - Hexadecimal Converter -
https://goo.gl/rkX3JE
8-bit Checksum Calculator -
https://goo.gl/inxvIT