Open in app

Sign In

Write

Sign In

Anna Ikoki
Anna Ikoki

115 Followers

Home

Lists

About

Feb 7

getters & setters in Python OOP

In OOP (Python), you have a class that defines data attributes (properties), and methods that work on the attributes. Among others, there are 2 methods that directly work on the properties to avoid directly manipulating the data attributes outside the class: getters and setters. Getters are methods that grab data…

Python

1 min read

Python

1 min read


Jan 27

Special string method __str__ in Python objects and how to use it

Double underscore special variables, attributes, functions, or methods or modules in python objects are user-defined overriding the formally defined one in a hierarchical manner. If defined by the user, they will override the in-built ones, else the formal definition will be used. Let’s see how we can customize __str__ class…

Python

2 min read

Special string method __str__ in Python objects and how to use it
Special string method __str__ in Python objects and how to use it
Python

2 min read


Jan 26

The name and main special methods in Python

The main function: main() Usually, python files run top to bottom. With the main function called, the whole file compiles first but starts to execute at the main point of entry. maincan take parameters if needed Usually called at the end of the code after the code file is defined …

Python

2 min read

The name and main special methods in Python
The name and main special methods in Python
Python

2 min read


Jan 11

What are programming models?

There are numerous types of programming models (paradigms) used in projects to design and organize code. These are: Imperative Programming Declarative Programming Functional Programming Procedural Programming Structural Programming Logical Programming Object-Oriented Programming Modular Programming Data-Oriented Programming Multi-Paradigm Programming 1. Imperative Programming. It is an action-oriented programming model described by a…

Programming

5 min read

Programming

5 min read


Jan 10

Pseudocode — with examples

A pseudocode is a step-wise way to describe a computer program in spoken human language. You can use sentences, loops, conditionals, variables, flowcharts, or graphical and other expressions. Example: A pseudocode for a weather App that returns the current weather and forecast for a given location Type I: Declarative pseudocode…

Pseudocode

2 min read

Pseudocode

2 min read


Dec 20, 2022

2023 non-resolution

I always understood that a resolution is a decision to do something. Grossly forgetting that it is also a decision not to do something. I have titled this non-resolution, so I stop things that I always do in hindsight, but do not want to keep doing at all. As much…

Resolutions

2 min read

2023 non-resolution
2023 non-resolution
Resolutions

2 min read


Dec 13, 2022

Self quick remedy for coughing for baby

It’s December — cold already. If you have a baby or just yourself coughing here and there and want to go through quick help to get you through the day & night. Here’s what you can probably do: Make an apple juice. Can use blender or just boil and the thin cut apple. Add honey and lemon(optional) Make warm mint & ginger tea Make broth soup Use essential oils: Eucalyptus, peppermint, thyme, rosemary, lavender or cinnamon oils

Cough

1 min read

Self quick remedy for coughing for baby
Self quick remedy for coughing for baby
Cough

1 min read


Nov 30, 2022

Styleguide for programming

This is how you can make your program readable: READABILITY Write your code clearly — don’t be too clever nor too efficient over clarity. Say what you mean, simply and directly for easy understanding. Write first in easy-to-understand pseudo language; then translate into whatever language you have to use. Modularize…

Programming

2 min read

Styleguide for programming
Styleguide for programming
Programming

2 min read


Nov 9, 2022

10 points on how to solve (personal) problems

Problem-solving is a skill, just like any other. It can be learned, just like any other skill. It should be one of the core skills to have. I am going to share some points, hoping one or two, could help you out if you have something personal that you have…

Problem Solving

3 min read

10 points on how to solve (personal) problems
10 points on how to solve (personal) problems
Problem Solving

3 min read


Sep 18, 2022

Computer Networking for Dummies

What is networking? Networking is designing, building and managing networks What is internet? Internet connection using satellite, cables, and phone networks, and integrate with servers to serve content. What is www? www — information on net, web using URL(uniform resource locator) with domain name registered with Icann or an IP address, chat, emails, file share using clients eg phones…

Networking

3 min read

Computer Network for Dummies
Computer Network for Dummies
Networking

3 min read

Anna Ikoki

Anna Ikoki

115 Followers

Developer and an occasional foodie https://www.instagram.com/anaikoki/

Following
  • Destiny S. Harris

    Destiny S. Harris

  • Bernard Bado

    Bernard Bado

  • Andrew Zuo

    Andrew Zuo

  • Mona Lazar

    Mona Lazar

  • Yan Babitski

    Yan Babitski

See all (285)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech