Unit Conversions
Pragmatic Ways
by Adam Allard
2y ago
The tables below are all the unit conversion factors used in the Unit Converter App tutorial, where we walked through together building out a JavaFX and SceneBuilder interface. Click here to watch it on YouTube! Length Converters The standard unit for length is the meter, so all of the units should know how to convert from meters. 1 Kilometer 1000 Meters 1 Meter 1 Meter 1 Centimeter 0.01 Meter 1 Millimeter 0.001 Meter 1 Inch 0.0254 Meter 1 Foot 0.3048 Meter 1 Mile 1609.344 Meter Volume Converters The standard unit for volume is the liter, so all of the units should know how t ..read more
Visit website
How to add JavaFX to Eclipse (the easy way)
Pragmatic Ways
by Adam Allard
2y ago
Step 1. Download JavaFX Go to https://gluonhq.com/products/javafx/ and download the appropriate SDK for your operating system. Make sure you download the SDK and make sure you choose the correct operating system and architecture for your computer. More than likely, you’ll be downloading one of the outlined options below. This will install a .zip file. Unzip this file and put the resulting folder in a memorable place, such as your /Documents folder. We’ll need this later. Step 2. Create a User Library in Eclipse Open up Eclipse and go to Preferences You should be able to get to Preferenc ..read more
Visit website
Here’s why you should use Deque instead of Stack or Queue
Pragmatic Ways
by Adam Allard
3y ago
A Deque is a double ended queue. It can be used as a Queue or a Stack If you’ve studied your basic Data Structures and Algorithms, then I’m sure you’re familiar with the Queue and the Stack data structures. In Java, there are a few different ways to implement either of these data structures. But what way is the best way to implement them? What is the best way to implement a Queue in Java? What is the best way to implement a Stack in Java? The Deque Interface The Deque is a “double ended queue.” As such, it can be used as either a Queue or a Stack. It provides a consistent API for normal operat ..read more
Visit website
Extract text in Excel the Easy way
Pragmatic Ways
by Adam Allard
3y ago
Here are 5 quick formulas for you to extract text from cells in Excel. Have you ever had a problem where you need to get a specific word from a string in another cell? This type of work is referred to as Data Manipulation, and is a very important skills to learn for anyone using MS Excel. (This can help a lot when creating Pivot Tables!) Extract text before first space (or comma or other character) =LEFT(A1,(FIND(" ",A1,1)-1)) Note: if you need a comma or some other character instead of a space, replace the ” “ part with the character you need wrapped in double quotes. Extract text before f ..read more
Visit website
How to become a software engineer and land a 6 figure job
Pragmatic Ways
by Adam Allard
3y ago
Let me start by saying first and foremost, a job in software engineering is amazing. I work from home, every day I don’t have to worry about being late to work, because I essentially choose my own hours My schedule is insanely flexible (which comes in handy when I have 2 little kids running around the house all day) If I need to take a day off, I just let my manager know that I’ll make up the hours at night or over the weekend. No Big Deal! Because I work from home, I make my own food for lunch, thus saving money by not going out for lunch (and also eating healthier) And speaking of money, so ..read more
Visit website
Refactoring a speeding ticket
Pragmatic Ways
by Adam Allard
3y ago
In this article we go through some more refactoring techniques to write cleaner code with this homework submissions. (If you want to submit some code to get refactored through a video, then join the Software Engineering Mastermind Group on facebook! https://www.facebook.com/groups/PragmaticWaysSoftwareEngineers/) Here are the instructions for this assignment: You are driving a little too fast, and a police officer stops you. Write a method to compute the result: 0 = no ticket 1 = small ticket 2 = big ticket If speed is 60 or less, the result is 0. If speed is between 61 and 80 inclusive, th ..read more
Visit website
3 books every new programmer must read
Pragmatic Ways
by Adam Allard
3y ago
If I could give any single piece of advice to new programmers, it’d be to never stop learning! We as software engineers have a very under-appreciated job in society. We have built our society around our computers. Think about how many computers you use during the day. Wake up to an alarm clock. Check your phone. Grab something from the fridge. Heat up some breakfast in the microwave. Drive your car to work. Relying on traffic signals to control the traffic. Hoping the automatic toilet flushing mechanism at work does its job properly. It’s astonishing when you start actually realizing how many ..read more
Visit website
Refactoring code for a pizza ordering service
Pragmatic Ways
by Adam Allard
3y ago
This is a beginner level tutorial on refactoring some old code I wrote a while ago. If you want to submit a homework assignment for a code review to be featured on Pragmatic Ways, you can join our Facebook Group and post your suggestion: Software Engineering Mastermind Group Note: This program is written in C++, but the language or technology doesn’t really matter here. We’re not focusing on C++ specific details, we’re focusing on fundamental programming concepts to writing cleaner code. Also note: This is a very basic example of refactoring with only a few tips on code cleanup. This example ..read more
Visit website
7 ways for developers to improve their coding skills
Pragmatic Ways
by Adam Allard
3y ago
Like professional athletes, software developers and engineers must always be practicing to improve their coding skills, even outside of the workplace. Too often we get bogged down into writing documentation, test cases, or pointless meetings that we don’t spend the necessary time we need to really practice and fine tune our problem solving skills. All software engineers should be striving to become the best developers they can, and with that comes practice. Practicing coding skills and becoming a better developer can come in a variety of forms, so here’s my list of 7 ways all software develope ..read more
Visit website
Here’s 5 easy steps for you to write better code today
Pragmatic Ways
by Adam Allard
3y ago
It is my firm belief that the most important aspect of writing code is writing code that’s easy to read, easy to understand, and easy to maintain. Here are 5 very easy things you can start doing today to write clean code. How many times have you come across a confusing and complex “algorithm” that you have no clue what it’s supposed to be doing? You mumble in your head “who the F*** wrote this piece of S***?!?” You check the git log only to find out that you actually checked in this module 6 months ago… (Hopefully you work in a high-performing team where code reviews are a natural part of you ..read more
Visit website

Follow Pragmatic Ways on FeedSpot

Continue with Google
Continue with Apple
OR