Programming: Pascal, Java, Perl and Python

-
Excellent Free Tutorials to Learn Pascal
Pascal is an imperative and procedural programming language designed in the late 1960s by Niklaus Wirth to teach structured programming using subprograms called procedures and functions. The language is a direct descendant from ALGOL 60, and takes programming components from ALGOL 68 and ALGOL-W. Pascal was named in honour after the French mathematician, physicist, and philosopher Blaise Pascal who helped to pioneer computer development.
Pascal is a popular teaching language to introduce structured programming techniques to students. There are many benefits from this type of programming such as code reusability, partitioning code into readable modules and procedures, and help programmers work together on code simultaneously. The language also lends itself to teaching with its easy syntax. Pascal is a strongly typed language, procedural, case insensitive, with extensive error checking. It has built in data types such as arrays, records, files and sets. There are also user defined data types. Pascal supports object oriented programming.
-
Interfaces in Java
We have already learned about the class. A class is a way of defining how an object would look and behave. A class contains variables and methods. Variables define how an object looks and feels. Methods inside a class define how an object behaves.
An interface is a special type of class. We need to understand what makes an interface special. An interface is a way of defining that the object that will be made using this interface will have to have the methods with its implementation declared in the interface. The interfaces do not accept the implementation of the methods. That means when a class implements this interface, that class will have to provide the implementation for all the methods already declared in the interface. Below is an example of an Interface.
-
2020.01 20/20 Foresight
It’s the time of the decade to be looking forward! 2020 will be the first full year of the Raku Programming Language. Yours truly predicts that more people will be using Raku in the twenties than ever before! That Raku will become faster and will have quite a number of features added. Please insert your own predictions here
-
Modern functions in a post-modern language
The new _modern function variants in Time::Local have come up a few times lately. I have some thoughts on them, but presenting my position dispassionately enough to be persuasive demands an essay of unfortunate length… so let’s get on with it.
Let me lead with the positive: it is a problem with the traditional functions that they would sometimes add 1900 to the year and sometimes a different value and sometimes nothing. This heuristic in the interface is bad. Doing something about it is a good idea.
Let me also lay out some simple statements of fact: Perl ships with gmtime and localtime functions which return a datetime represented as a list of numbers. Time::Local supplies inverse functions which take such a list and return the Unix epoch time that corresponds to that datetime. The Perl functions, among other things, return the year as the number of years since 1900. A correct inverse of the core functions would therefore simply add 1900 to the year passed.
The traditional Time::Local functions do not do this: they only do it if the year number is just big enough but not too big.
-
Pandas drop_duplicates(): How to Drop Duplicated Rows
In this post, we will learn how to use Pandas drop_duplicates() to remove duplicate records and combinations of columns from a Pandas dataframe. That is, we will delete duplicate data and only keep the unique values.
This Pandas tutorial will cover the following; what’s needed to follow the tutorial, importing Pandas, and how to create a dataframe fro a dictionary. After this, we will get into how to use Pandas drop_duplicates() to drop duplicate rows and duplicate columns.
Note, that we will drop duplicates using Pandas and Pyjanitor, which is a Python package that extends Pandas with an API based on verbs. It’s much like working with the Tidyverse packages in R. See this post on more about working with Pyjanitor. However, we will only use Pyjanitor to drop duplicate columns from a Pandas dataframe.
-
About my Qt times, and a Qt for Python voice assistant
I spent a short time @Qt, but a fruitful one. I was lucky to work with the great Qt for Python team that made me feel very welcomed. I was also lucky to have had a great mentor, Cristián Maureira-Fredes, that was super supportive and cool to work with.
Besides helping to spread the word about Qt for Python in the Open Source community by going to conferences and events, during my time in Qt I added a few features to the Qt ecosystem to make Qt for Python more visible and interesting to beginners like adding new templates and the example tab in QtCreator, I also wrote a translation tool to convert Qt code for Qt for Python and translate our docs, wrote a tutorial and an example to present at the Qt World Summit 2019: a voice assistant using open source technologies. This blog post will explain a little bit about this example and it's going to show you a thing or two about this it in case you want to experiment with it.
-
Top 10 Most Read Mouse vs Python Articles of 2019
2019 was a good year for my blog. While we didn?t end up getting a lot of new readers, we did receive a small bump. There has also been a lot more interest in the books that are available on this site.
-
How I use Python to get Salesforce data
After writing about "How I built a Python script to read e-mails from an Exchange Server" and “How I access Microsoft SharePoint in my Python scripts” and getting great feedback on the articles, I decided to write a little more about accessing business software data from Python. This time I moved out of the Microsoft world and explored the Salesforce and Python combination.
-
Python 3.7.5 : Post class and migration process.
-
Reuven Lerner: Looking back at 2019, looking forward to 2020
Hi, and welcome to 2020! The last year (2019) was quite a whirlwind for me and my work — and I thus wanted to take a few minutes to summarize what I’ve done over the past year. But the coming year looks like it’ll be just as exciting, if not more so, and I wanted to fill you in on what you can expect.
Let me start off by saying that I’m extremely grateful to have the opportunity to teach Python to so many people around the world, both in person and online. Thanks so much for your interest in my writing and work, and (for so many of you) for taking the time to e-mail me with corrections and suggestions. It means a lot to me.
-

- Login or register to post comments
Printer-friendly version- 2393 reads
PDF version
More in Tux Machines
- Highlights
- Front Page
- Latest Headlines
- Archive
- Recent comments
- All-Time Popular Stories
- Hot Topics
- New Members
digiKam 7.7.0 is released
After three months of active maintenance and another bug triage, the digiKam team is proud to present version 7.7.0 of its open source digital photo manager. See below the list of most important features coming with this release.
|
Dilution and Misuse of the "Linux" Brand
|
Samsung, Red Hat to Work on Linux Drivers for Future Tech
The metaverse is expected to uproot system design as we know it, and Samsung is one of many hardware vendors re-imagining data center infrastructure in preparation for a parallel 3D world.
Samsung is working on new memory technologies that provide faster bandwidth inside hardware for data to travel between CPUs, storage and other computing resources. The company also announced it was partnering with Red Hat to ensure these technologies have Linux compatibility.
|
today's howtos
|








.svg_.png)
Content (where original) is available under CC-BY-SA, copyrighted by original author/s.

Recent comments
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago