We didn’t find a product being promoted in this video. Its hook, format and structure below still show why it took off.
Browse products winning on TikTokThe video uses a humorous and relatable analogy (filtering people by height) to explain a technical concept (the filter function in programming). This approach makes the abstract concept more accessible and memorable, likely driving engagement.
The video explains how the 'filter' function works in programming, using a humorous analogy of filtering people based on height. It demonstrates how filter iterates through a list, applies a condition, and returns a new list with elements that meet the criteria, leaving the original list unchanged.
filter recorre una lista, ejecuta una función que vos le pasás para verificar una condición sobre cada elemento, y te devuelve una lista nueva con los que la cumplen. El elemento entra tal cual está, sin modificarse. Tu lista original queda intacta, igual que con map, porque los dos son inmutables. Y si ninguno cumple la condición, te devuelve una lista vacía. Ese caso conviene contemplarlo siempre, porque una lista vacía se recorre sin errores y el problema aparece después, cuando alguien se pregunta por qué la pantalla no muestra nada. Lo usás para separar los productos con stock, quedarte con los usuarios activos, mostrar solo los pedidos pendientes. Aprendé a construir software en zerojsx.com #javascript #programacion #desarrolloweb #aprenderaprogramar #zerojsx
FILTRAR ENANOS DE CALIDAD
Introduction to filtering a list of people by height
Explanation of the 'filter' function's logic
Demonstration of filter's output with matching and non-matching elements
Visual representation of the filtering process
Conclusion on handling empty lists and the original list's integrity
Playing this video’s own audio, so you’ll hear the creator over the sound.
Promotes 1 product. Create free account to see more.
Outliers and viral hits: their videos on Overshot, all time.