She a First-Time Scala

Consider following on social media!

Quick note: if you’re viewing this via email, come to the site for better viewing. Enjoy!

photo of phone and keyboard in dark pink lighting
Learning a trade at any age is possible…unless you’ve done some wild things to fry your brain at a young age. Not judging.
Photo by Jonathan Borba, please show support by following @pexel.com

Have you ever thought to yourself, “I think it’s about that time I picked up a new programming language”? Followed by the thought, “I’m going to need a programming language that’s going to separate me from the herd and see me at the head of the line to better employment”.  

Well, if you ever followed the previous question up with a quick Google search (I chose Google because it doesn’t seem like anyone uses Ask Jeeves or Ask.com anymore) you’ll find that are a massive number of programming languages to learn, oh and there are categories they’re in which you can choose from also, which are machine, assembly, and high-level in case you didn’t know.

But while you have a mass number of languages to choose from, whether to begin learning fresh or to make an addition to your array of programming languages already learned, this one may have not been on your radar. It sure wasn’t on mine.

Today we’re going to be going over Scala, answering what, who, why, and if you could get into the programming field without a degree. And uh, spoilers ahead, since it is programming more likely you can get into this field as a developer without a degree.

So yeah, you don’t have to worry about burning a massive hole in your wallet trying to obtain one. By the way, if the person you’re dating or looking to date has no clue as to who Ask Jeeves is, they may be too young for you.

young gentlemen in black hoodie
After countless hours of coding, the time has come to print “Hello World”…in all caps.
Photo by Mati Mango, please show support by following @pexel.com

Its Scaling Time

So, here’s a bit of information, some of which I did not know since I don’t know every programming language out there but I’m learning something new with every script so there’s that. Apparently, Scala, unlike most people nowadays stands for something.

Scala is short for “scalable language” and like high-level programming languages, Scala is a general-purpose programming language. Scala received this acronym due to it being able to “grow with you”, which in short if you need it for something simple as running a line of code, it can do that and if you need it for something mission-critical, Scala can be your go-to as well.

This language focuses on object-oriented programming or OOP, and functional programming, and was also designed to handle some of the criticisms of Java.

And in case you didn’t know or weren’t aware of what functional programming meant, I got you on that. Functional means that there is a set of approaches taken to create clean and maintainable software.

Popular functional languages would include the likes of Python, Clojure, and Erlang. I’m familiar with Python, the other two languages I’ll be scripting about in the days to come.

An advantage of Scala resides in the ability to be able to run in the Java Virtual Machine (JVM) which makes it possible for both Scala and Java stacks to be run and incorporated.

You can more or less put Scala down to being the Swiss army knife of programming languages.

four people fist bumping over table
Can no longer stand Bob, he has to go. All those in favor of getting rid of Bob, put your hands in the center.
Photo by fauxels, please show support by following @pexel.com

Scala Among the Many

Now, you may be thinking to yourself, “outside of the usual suspects, who are the people that use this language?” Well, I can tell you it’s the usual cast of suspects.

Software engineers, data scientists, and data engineers are prone to use Scala since Scala powers the data engineering infrastructure of several companies, in areas of content management systems, distributed applications, and finance-related applications.

Scala also powers data processing, cloud computing, and web development. Another thing that’s not going to be much of a surprise since data scientists were brought up is the fact that Scala is used for machine learning also.

Seeing all of this, you can pretty much tell there is a mass of developers that use this language.

To complement this, big-name companies the likes of Twitter, Nubank Walmart, Meetup.com, Amazon, Google, and the one company that has my undying hatred, IBM.

I’m not sure if this is current, it may have changed when this is uploaded but as of now, 952+ companies have reported using Scala within their tech stacks.

So, yeah if you’re going to be a developer or a big-name company or even a small start-up, you’re going to be using Scala at some point. As you can see, there are many areas to scale in.

Enjoy the read so far? Why don’t you consider subscribing so you can keep up to date?

older man dressed as Santa Clause
That’s right, this programming language is more scalable than this guy’s waist size during the holidays.
Photo by Andrea Piacquadio, please show support by following @pexel.com

Scala in the Wild

So, you may be wondering to yourself, “how does Scala have much of a play in our world?” Well, since it’s one of many programming languages out there you could learn, it wouldn’t be much of a surprise if I told you, it’s everywhere.

Many developers are flocking to this language for a few of its features which sets it apart from other programming languages.

Features such as but not limited to; ecosystem, being an extensible language, creation of domain-specific language or DSL, object-oriented and functional programming, along with being able to run concurrently are just to name a few.

Plus, a little perk for developers, you are not required to use a semicolon after every statement like you have to with JavaScript or Java.

Not a big deal when you’re first learning to code but tends to be annoying because the computer will let you know by bombarding you with squiggly lines and error messages.

Scala is widely used due to its scalability on Java Virtual Machine or JVM for short, this can be seen with companies such as Netflix and Alibaba.

So, with seeing the number of people who like to Netflix and chill, you probably have been scaling from the couch and not even knowing it.

photo of keyboard up close
Sticky keys reveal an interesting browser history.
Photo by Max DeRoin, please show support by following @pexel.com

Scaling to What Degree

Thinking about trying to scale your paycheck from $0 to infinity and beyond? While I did say in the intro that you’re not going to need a degree (yes, I am aware that having one helps) you are going to be required to have a deep understanding of fundamental concepts.

Things like variables, strings, data types, and loops are some of the things you need to know in order to build projects which in turn will help you build a portfolio (having one is a key item when seeking out work because people are going to want proof of working knowledge), where paired with fixing up your resume and applying to job postings will see you begin to scale your way to ascension.

A thing to note is, learning just one programming language isn’t going to be enough to even get you to the interview but if you learn one well enough and “dip the toe” in others, you’ll be able to add and adapt which to many companies makes an ideal candidate.

However, brace yourself for the proverbial mountain pile of “thank you for your interest in our company, but we’ve decided to go with other candidates at this time” emails that are going to plague your inbox and some of which will end up in spam.

Pimpin ain’t easy…and neither is trying to find an entry-level developer job that doesn’t require 8 years of experience.

Make it make sense.

woman with head down on table in exhaustion
When you’ve countless online courses and check your email only to find your 150th rejection letter.
Photo by Andrea Piacquadio, please show support by following @pexel.com

Made it this far and found this to be entertaining? Then a big thanks to you and please show your support by cracking a like, sharing this with whomever, scripting a comment, or plug-in to follow.

Would like to give sincere thanks to current followers and subscribers, your support and actions mean a lot and has a play in the creation of each script.

Think you have what it takes to learn how to Scala?

Script a comment about your first-time learning Scala.

Also, if you liked this script but thinking Scala might not be a good match for you then check out my script on Java.

Programming in Sushi

Consider following on social media!

Quick note: if you’re viewing this via email, come to the site for better viewing. Enjoy!

green code coming down from top of screen

A Matrix without Vectors

It’s been many moons since the movie The Matrix was released so I’m going to assume everyone has seen it. If you haven’t then shame on you and go fix that immediately because it’s a great movie.

For those of you who have, this question goes to you. Have you ever looked at any of their monitors when they were coding and wondered to yourself “what kind of language is that?”. While most people have no clue because they do not possess any computing experience, if you are a developer, you may have had a small chuckle because you 1) know The Matrix does not use an actual computer language and 2) that’s not how development with code works.

Ask any developer and they will tell you, most of your time when beginning is spent staring into the void of a black screen before any movement of the cursor. Even with code already existing, most of the time is spent staring at the screen.

They will also tell you, with many lines of code come many errors which if they can’t debug come hours if not days of frustration. Running to sources like Google, Stack Overflow, and GitHub to aid you in debugging only to find the root cause was a typo.

Real developer problems when you capitalize or add space to the wrong letter in your code. All that nonsense aside, let’s talk programming.

Quick thought: I was looking to research the computer language they used for The Matrix and found it they were sushi recipes. So, the link is below, and enjoy.

Link:  The iconic green code in The Matrix is just sushi recipes | The Independent | The Independent

the monkeys from see no evil, hear no evil, speak no evil

The Three Types

There are three main languages used which are machine (language consisting of binary or hexadecimal commands for a computer to respond to directly, easier for the computer to read but difficult for humans), assembly ( a type of low-level language intended to communicate directly with computer’s hardware, it’s not entirely like machine language but is designed to be more readable by humans), and finally high-level (is a more readable and user-friendly language that is away from the computer’s hardware).

I will not be going over those in greater detail now because that could be a post for another time. Leave a comment in the comments section if that’s something you would like me to cover in the days to come.

Also, we are not going to be going over all the possible languages as that would take all eternity and we don’t have that much time. So, we’re going to talk about Python. Why? Because it’s a high-level language, it’s what I started with, currently use, and has the easiest learning curve compared to other languages.

view of python the book

No, Not the Snake

As I previously mentioned, python is a high-level programming language which means it’s easier to read compared to mid and low-level. Python is also frequented for object-oriented programming and general purposes. Everyone from novice to experienced uses python whether it’s to do a simple algebraic expression or to create a crawler for web scraping. Side note: Web scraping (a process of using bots to collect content and data from a website) has a grey area when defining what is legal to scrape and what is not. Python also has a play in data science next to R as with most languages your choice boils down to the task at hand.   

To give you an idea of how simple python is:

1) go into your search bar wherever your toolbar is on your monitor

2) type “cmd” in the command prompt and select it

3) type python and hit enter

4) you should see the following symbol “>>>”

5) next to “>>>”, type x = “hello world” and hit enter

6) finally type “print(x)”

Congratulations, if you didn’t know how to program before then you do now and you have proof you can do it. Also, you may have just had your first experience with a variable (which is a container for the data) and data type (currently using a string but there are other types). A little warning, if you are doing this on windows and it’s in S-mode then this will not work since you do not have admin permission to access the command prompt.

Now if you were to try the same thing in a language like Java, it wouldn’t be that simple which is why python edges out a lot of languages. Printing a line out in Java would look like “System.out.println(“Hello World”)” which doesn’t look like much of a problem at first. You would need some other things to added before reaching this line to print out your result.

As you can already see with that little bit of instruction, you gained an understanding of what to do when you saw the word “print” in Java’s line of code. You could look at the printout statement for Java and map what its purpose was without having to read the entire sentence.

Hold on there, before you run out and start applying for junior python developer jobs, anyone with XP (experience) will tell you, it takes a ton more than being able to have the computer spit out “Hello World”. 

Enjoy the read so far? Why don’t you consider subscribing so you can keep up to date?

people cycling countryside

Whatever It Takes

Okay so you have made it this far and you may be feeling a little in the groove for learning to program. Programming is going to be an uphill battle. I remember my time trying to write functions only for the computer to return an error statement that had me balling my fist in frustration at the monitor because I couldn’t figure out what it meant. Remember when I mentioned sources from earlier? This is where they come to your aid.

Discussion boards will help a lot because being able to see how other people solved problems and how you could incorporate what they did into what you are doing. Spending time on sites like HackerRank had me gutted at some points because I couldn’t figure out what to do or what was asked of me but going to discussion boards and searching on Google and Stack Overflow kept me together because the key is not to know everything but understand what the code does.

Studying code and trying to commit it to memory is going to be an unnecessary headache. Python library is full of modules, and it would be insane to try and memorize each one and what it does. I’m sure there’s a special someone out there who has done it but for most people, especially people starting, trying to memorize is a dream killer.

Made it this far and found this to be entertaining? Then a big thanks to you and please show your support by cracking a like, sharing this with whomever, scripting a comment, or plug-in to follow.

Think you have what it takes to become a programmer?

Script a comment about what programming language you’re learning or looking to learn.

Connect Beyond Love-Connection

Consider following on social media!

Quick note: if you’re viewing this via email, come to the site for better viewing. Enjoy!

person on their cell phone
It’s time to check out what happening on scriptingthewhy.com again.
Photo by Porapak Apichodilok, please support by following @pexel.com

Here’s a scenario, picture yourself sitting at your computer, thirst-scrolling Instagram on your phone, putting off responding back to emails, handling tasks, and receiving those juicy dopamine hits. You know, just another day in the office for you.

While emails are piling up, notifications on your phone and computer are going off, the watercooler farts a water bubble, and your smartwatch is telling you to get up and start moving or you’ll be one step closer to God’s waiting room. I’m not talking about Florida.

During your quest to come upon the perfect thirst pic so you can quickly run to the restroom and get a handle on your developing situation, have you ever stopped to question “how are all of these devices connected?”

You say no? You wouldn’t be alone in that regard; many people just use devices and don’t really give a second thought as to how they work. We just use them and take them for what they are and their purpose in our daily lives.

However, it’s time to answer the question you didn’t ask because well, I’m a scriptwriter and somehow through the powers that be I find this enjoyable to entertain and inform you so without stealing candy from a baby, I bequeath to you the connection between all of the devices we use throughout our daily lives and what would life be like if we didn’t have them.

Which I could tell you right now, if we didn’t have them then you would still be thirst-scrolling, the personals section in the newspaper was Instagram back in the day. I’m not proud of that knowledge.

gentleman by window on his phone
I’m not liking that photo again, that was Eric with an a.
Photo by Andrea Piacquadio, please support by following @pexel.com

Insta-Connections

This connection, what is it called? You may have heard of it in passing or never at all. The term Internet of Things, better known as IoT, broadly means the collective network of connected devices and the technology that facilitates communication between devices and the cloud.

These devices could range from ordinary household objects to sophisticated industrial tools. The phrase is used to describe the ever-expanding network of smart devices used by sometimes not-so-smart people that connect to the internet.

However, devices that you wouldn’t typically expect to connect to the internet, for example, laptops and smartphones are not typically described as IoT devices. Why? Because anything that requires human interaction or control is not considered a part of IoT.

The concept first IoT emerged as a serious proposition in the 1980s – 1990s, which was pretty much a wild time to be alive. The earliest projects included a connected vending machine, but progress was hindered by early chips being cumbersome and objects struggling to communicate with each other effectively. If you have been in a struggling relationship, you have an idea of what this feels like.

I wonder if the vending machines had the same experience they did in Maximum Overdrive, you know, attempting to hand out people’s expiration dates with Pepsi product placement. That symbolism hits way too hard.

woman sat at laptop using a vr headset..
Tom: You know the sensor can in other directions aside from just up and down.
Sarah: I know…it’s just.
Tom: You miss him, don’t you?
Photo by ThisIsEngineering, please support by following @pexel.com

IoT Connecting Us

Z-Daddy, what do we use that is connected to IoT? Again, pending robot uprise experience inbound. Here’s your list of things to look at and jokingly say to yourself “there’s no way that could speed up my expiration”; dishwashers, refrigerators, smart TVs, smartphones, cars and trucks, heating and cooling systems, fitness machines, and trackers are some examples of IoT.

Most of these products you have experienced personally but keep in mind, while your chances of receiving your expiration date by one of these items are low, it’s never zero.

Generally, IoT is most abundant in manufacturing, transportation, and utility organizations, making use of sensors and other IoT moreover, it has also found use cases for organizations within such as water resource monitoring in agriculture, healthcare, infrastructure, and home automation industries, leading some organizations toward digital transformation. Ja (Yes), we’re pretty much one Elon tweet away.

While the idea of IoT has been in existence for a long time, a collection of recent advances in a number of different technologies has made it practical. Access to low-cost, low-power sensor technology, connectivity, cloud computing platforms, machine learning, and analytics. Imagine, all of this taking place while you spend your days thirst-scrolling.  

Enjoy the read so far? Why don’t you consider subscribing so you can keep up to date?

network of devices next to each other
Choose your addiction from the semi, mid, or crippling.
Photo by Pixabay, please support by following @pexel.com

93 and Lonely

Now I can hear you yelling at some of the items listed earlier, saying “THEY TOOK OUR JOBS!” You didn’t know but you were going to give the job away anyway. I would take a self-driving lawn mower than have to go out and mow my lawn in the hot sun any day.

Having my 93-year-old neighbor staring at me from her living room window while I’m all sweaty working, I mean she’s nice and offers a glass of lemonade and cookies, but Z-Daddy can’t be that daddy. Although… she has Medicare and might have a decent life policy so I may be able to make it a short-term situation. Older people need love too, don’t judge.

Now back to sticking it to IoT and not my neighbor, there is a massive market for intelligent electronics, and over the past few years, IoT has become one of the most important technologies of the 21st century. And years ago, we thought conjuring fire was a big deal.

Now that we can connect everyday objects, IoT enables companies to automate processes and reduce labor costs. A quick word to the wise, if your job is simple enough for a computer to do it, you might want to start looking elsewhere for work.

It also cuts down on waste and improves service delivery, making it less expensive to manufacture and deliver goods, as well offer transparency in customer transactions. Again, these are all keywords for you being replaceable if you haven’t caught on by now.

In short, technology is making life great by making things easier, the downside is it’s making us lazier.

several devices on desk
Handling a situation in restroom, be back in five.
Photo by Pixabay, please support by following @pexel.com

Developing Years Behind

Do you want to know if you can hop into the field of IoT and help technology grow? You don’t want to go to school for a four-year degree and live off ramen and depression or have to meet someone in the alleyway to provide something strange for some change.

I have some good news; you don’t have to. Well, you still might have to meet someone in the alleyway if you need the change or a source of inspiration but for the most part, you don’t have to spend your best years trying to get a degree.

There are many jobs to select and since technology is growing like your developing restroom situation mentioned earlier, going to school would actually see you behind instead of ahead. Saw what I did there? You could detour to other avenues of learning like completing online courses or attending meetups, just stay away from people wanting to link up in alleyways.

smiling man wearing glasses while looking at camera
This might not be Tinder but with writing like this, I don’t feel lonely.
Photo by Marcus Aurelius, please support by following @pexel.com

Made it this far and found this to be entertaining? Then a big thanks to you and please show your support by cracking a like, sharing this with whomever, scripting a comment, or plug-in to follow.

Would like to give sincere thanks to current followers and subscribers, your support and actions mean a lot and has a play in the creation of each script.

Do you feel like there’s something I may have missed about the Internet of Things? Script a comment about it below.