How to learn a new programming language

LORY
1 min readSep 16, 2020

--

This article listed the things to learn and practice when you start a new programming language or stack.

Here will not include the if/else for loop syntax here .there are many places already documented .instead I share some topics I will go through when i learn every new language or stack

Basic Types

int/float/double/bytes[]/string

Collections

Array/List/2d array/Dictionary/HashSet/stack/queue/Heap

Datetime

str/time convert
add days/month/years/hours/minutes
unix time/windows time convert
datetime/date/time convert
date_diff/time_diff

Object Oriented

class/inheritence/interface
package/namespace/module
import/export

Document processing

Create/Read/Write/append/Read line(s)
txt/csv/pdf/word/excel

(De)serialization

Json/Xml

Log

debug/info/warning/error
time based
file size based

File/Folder

Get Folders/Files/Walk Directory Tree
Create/copy/move/rename/delete folder/file recursively
check file/folder exists
Zip/unzip file

Network

-socket
— 1:N connection
— 1:1 connection
-web socket (server/client)
-TCP/UDP
— send/receive
-ftp
— connect
— list folder
— upload/download files
-Email
— send/receive
— attachments
-ssh
— login
— execute command

Com port

listen port/send bytes[]

Reflection

get type/properties/methods/members of object
get attribute of class/method

Security

Encryption/Decryption
AES/RSA/SHA

Threading

start/kill thread
daemon thread
thread pool
parrellel and wait all
async/await
build producer[]/consumer[] model

Process Communicate

get process list
Create(fork) sub process
get result
kill by id(name)

Service

Deploy on Windows/Linux

GUI

-UI Controls
— button/checkbox/radio/form/layout/panel/slide
-Image
Create/Watermark Overlay/Gray/Resize/Rotate/Flip/Merge/Crop/Blur

GDI

— draw line/circle/rect/eclipse

Web

Master a Web framework of the language (Spring boot/Aspnet MVC/django/flask…)
async processing
Build Web Api (Get/Post/Put/Delete)
Post Form/Json/File/Json+File(Multipart)
Download/Upload
Routing
Filter
Authentication

Database

CRUD with Mysql/MongoDB

Cache

Read/Write Redis/memcached

MQ

Read/Write RabbitMQ/kafka

--

--

LORY
LORY

Written by LORY

A channel which focusing on developer growth and self improvement

No responses yet