Fakultas Ilmu Komputer UI

Skip to content
Snippets Groups Projects
Commit 4fac9d1c authored by asShidqi's avatar asShidqi
Browse files

Reflection Publisher-2

parent 700c5f89
Branches
No related tags found
No related merge requests found
......@@ -82,5 +82,7 @@ This is the place for you to write reflections:
3. Singleton Pattern digunakan untuk memastikan hanya ada satu instance dari suatu objek dalam keseluruhan aplikasi. Namun, dalam kasus ini, DashMap tetap diperlukan karena singleton tidak secara otomatis menyediakan akses thread-safe ke data bersama.
#### Reflection Publisher-2
1. Baik, saya akan memberikan jawaban dalam paragraf singkat:
Pemisahan Service dan Repository dari Model dalam arsitektur MVC dilakukan untuk mencapai prinsip Separation of Concerns. Model murni hanya mewakili struktur data, Service menangani logika bisnis, sedangkan Repository mengelola akses data.
#### Reflection Publisher-3
......@@ -25,4 +25,5 @@ impl NotificationService {
"Subscriber not found".to_string()));
}
return Ok(subscriber_result.unwrap());
}
\ No newline at end of file
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment