Design Patterns trong ngôn ngữ lập trình C - bài 1
Design Patterns trong C
Design Patterns (Thiết Kế Mẫu) không phải là một khái niệm quá xa lạ với người lập trình. Trong Viblo cũng đã có nhiều bài viết chia sẻ về DP. Tuy nhiên khi nói đến DP, thông thường DP hay gắn với các ngôn ngữ lập trình hướng đối tượng. Ngay trong quyển sách Design Pattern - có thể coi là kinh thánh về DP - của Nhóm bộ tứ (Gang of Four), các tác giả cũng nói rằng "DP miêu...
Design Pattern
May Fest
C language
2280
Một số Tips JavaScript hay
Flattening multidimensional Arrays in JavaScript
Một số cách Flatten hợp nhất mảng đa chiều thành mảng một chiều duy nhất
const myArray = [[1, 2], 3, 4, 5, [6, 7, 8, 9]];
// expected output: Array [1, 2, 3, 4, 5, 6, 7, 8, 9]
Sử dụng concat(), apply()
const myNewArray = [].concat.apply([], myArray);
// [1, 2, 3, 4, 5, 6, 7, 8, 9]
Sử dụng reduce()
const myNewArray = myArray.reduce((prev, curr) => prev.concat(curr), []);
// [1, 2, 3, 4, 5, 6, 7, 8, 9]
Sử...
Happy New Year
JavaScript
2117
Secrets to Building a Successful Custom Mobile App
In this competitive era, where many mobile apps are successfully drawing billions in funding, there are thousands that even fail to make a mark in the online space. Developing an app from scratch requires a significant amount of time and money. However, all your efforts could go in vain if you don’t have a business plan to create and promote it properly. In this blog, I’ve shared some mobile app development secrets that you must follow to make your app a global success.
Steps to Follow to...
Custom Mobile App Development Company
Custom Mobile App
2949