May 23, 2025 · 3 min read · So, I learnt about exception handling using try, except, and finally and was practicing it, when I ran into a bug that at first made no sense to me. To be precise I was curious to see whether not using finally affects the execution of my program or n...
Join discussion
May 22, 2025 · 6 min read · The final keyword in Java is a non-access modifier that provides restrictions on classes, methods, and variables. It's one of the most important keywords for controlling inheritance, method overriding, and variable reassignment. 1. final with Variabl...
Join discussionApr 14, 2025 · 1 min read · fin - возвращает any, если это атом, в противном случае CDR его последней ячейки. (fin 'any) -> num|sym : (fin 'a) -> a : (fin '(a . b)) -> b : (fin '(a b . c)) -> c : (fin '(a b c)) -> NIL finally - prg выполняется, затем вычисляется exe, и возвращ...
Join discussionMar 30, 2025 · 1 min read · *Bye - глобальная переменная, содержащая (возможно, пустое) тело prg, которое должно быть выполнено непосредственно перед завершением интерпретатора PicoLisp. bye - выполняет все ожидающие finally выражения, закрывает все открытые файлы, выполняет VA...
Join discussionJun 23, 2024 · 6 min read · JavaScript has come a long way since its humble beginnings. If you've been riding the ES6 wave with arrow functions and promises, it's time to level up your code with the refined features from ES9 (2018) and ES10 (2019). These updates might not be as...
Join discussion
Aug 4, 2023 · 2 min read · A promise is an object. It works as a placeholder for a certain period until we receive a value from an asynchronous operation. Promise in Javascript is similar to promise in real life. If we do promise to do something, there will be two results of p...
Join discussion
Jul 28, 2023 · 2 min read · finally is a key method used within the try-catch structure in JavaScript. This method is triggered regardless of whether the preceding promise is fulfilled or rejected. Its primary function is to handle final tasks after promise resolution, which mi...
Join discussion