WZ - Profile

Advocate & solicitor

Wan Zafran

Advocate and solicitor of the High Court of Malaya.

As counsel

My practice focuses on counsel work and contentious matters in the Malaysian courts.

I am principally instructed as counsel. I have had the fortune to argue cases at all levels of court - from the Federal Court to the Magistrates' Court.

I also act as second-chair to seniors, or as the primary/caretaking solicitor in litigation requiring legal teams of various sizes.

  1. As advocate and solicitor, I have been instructed to prosecute, resist and advise suits on behalf of - and against - individuals, firms (commercial and professional), corporations, societies, state entities, and the Malaysian government (state and federal), in both personal and commercial matters.
  2. My main area of practice is civil and commercial law.
  3. The bulk of my work concerns complex litigation, often involving commercial fraud, company / shareholder disputes, breaches of trust, and/or inheritance disputes.
  4. I do not practise criminal litigation or Syarie law, and I minimize my engagements in quasi-judicial tribunals.

I love getting to know fellow advocates, barristers, counsel and solicitors from other jurisdictions.

📧 Send me a note, and say hi.

Code / Programming

I write software.

I am familiar with various programming languages / toolsets, and regularly use them in my professional legal practice.

Main Languages
  1. Python
  2. Go
  3. Nim
  4. Javascript
  5. SQL
  6. C
Toolkits / Software
  1. SQLite
  2. PostgreSQL
  3. Django
  4. HTMX
  5. Pandas
  6. D3
  7. Graphviz
    / DOT

  1. Vim
  2. Sublime Text
  3. Jetbrains IDEs
  4. Affinity Designer
  5. Git
  6. Docker
  7. Ansible

I have written many kinds of software, whether CLI / command-line based, GUI-based (Tkinter/Qt) or web-based (both front-end and back-end, with Django and Flask). I believe in the Unix philosophy and best practices, and (try to) write well-engineered/test-driven tools.

Given time constraints, the tools I build these days tend to be litigation-oriented / domain-specific: e.g. litigation discovery / analysis techniques (which often ties in with natural language processing), process / workflow automation and document generation.

I enjoy low-level programming, and hope to get back to C someday (or maybe try Rust in the future). For now my entire development workflow is Python-focused (a language that I personally find beautiful and logically-designed).


Heroes / Influences

  1. Programmers: Richard Hipp, John Carmack, David Beazley, Guido van Rossum
  2. Musicians: Guthrie Govan, Alex Hutchings, Paul Gilbert, John Petrucci, Masato Nakamura, Noriyuki Asakura
  3. Lawyers / writers: Lord Denning, Brandon Sanderson, Andrzej Sapkowski


English, Malay, Japanese (written)


Languages, natural language processing, data visualization, music, law

Service to others

Malaysian/Kuala Lumpur bar committees, court committees, speaker at Bar talks/webinars and conferences, mentor to pupils


Cuttings In Personam
- Legal writings
Cuttings Lex Technicae
- Litigator's service
Cuttings Artificer of Ink
- Art project