Programming-Idioms

History of Idiom 43

Idiom #43 Break outer loop

Look for a negative value v in 2D integer matrix m. Print it and stop searching.

Illustration
#Edit dateEdit SummaryAuthor
👁 Δ 60 2020-07-05, 20:32 Updated picture URL by user [programming-idioms.org] programming-idioms.org
👁 Δ 59 2020-04-29, 13:57 New Clojure implementation by user [daveliepmann] daveliepmann
👁 Δ 58 2020-03-31, 16:46 Restored version 55 programming-idioms.org
👁 Δ 57 2020-03-31, 16:28 [JS] ghhh plazzy
👁 Δ 56 2020-03-31, 16:27 [JS] want some diff plazzy
👁 Δ 55 2020-03-20, 17:56 [Rust] Avoid link shortener if possible programming-idioms.org
👁 Δ 54 2020-03-03, 19:58 Restored version 50 programming-idioms.org
👁 Δ 53 2020-03-03, 14:24 [C] avoiding goto statement vatsal
👁 Δ 52 2020-03-03, 14:23 [C] testing vatsal
👁 Δ 51 2020-03-03, 10:46 [C] avoiding goto statement vatsal
👁 Δ 50 2020-01-09, 17:11 [Python] Evaluate the matrix lazily to avoid one full outer loop None
👁 Δ 49 2020-01-09, 17:07 [Python] fixed code in case of exception None
👁 Δ 48 2020-01-09, 17:05 [Python] fixed explanation None
👁 Δ 47 2020-01-09, 17:04 New Python implementation by user [None] None
👁 Δ 46 2019-09-27, 03:20 [Python] Using enumerate is the pythonic way to iterate while keeping the index sgdpk
👁 Δ 45 2019-09-26, 17:38 [Cpp] The comment provides an unrelated opinion that has nothing to do with the solution. MatthewH
👁 Δ 44 2019-09-26, 17:31 [C] Clarification of the previous comment (see edit) MatthewH
👁 Δ 43 2019-09-26, 16:45 New Fortran implementation by user [tkoenig] tkoenig
👁 Δ 42 2019-09-26, 16:18 New Lisp implementation by user [foobar] foobar
👁 Δ 41 2019-09-26, 15:35 [Csharp] Fixed variable misnaming _darkcha0s
👁 Δ 40 2019-09-26, 15:33 New Csharp implementation by user [darkcha0s] _darkcha0s
👁 Δ 39 2019-09-26, 14:22 New Python implementation by user [Rochelimit] Rochelimit
👁 Δ 38 2018-12-17, 19:45 [Rust] Fix indents freecoder
👁 Δ 37 2017-10-21, 11:24 Restored version 35 programming-idioms.org
👁 Δ 36 2017-10-21, 11:22 Restored version 34 programming-idioms.org
👁 Δ 35 2017-10-20, 22:53 [Lua] fault, line 8 is needed and cannot be removed. dromer
👁 Δ 34 2017-10-09, 15:51 [Lua] No goto necessary, works on more lua-variations. dromer
👁 Δ 33 2016-09-23, 13:29 Updated picture URL by user [programming-idioms.org] programming-idioms.org
👁 Δ 32 2016-04-07, 09:54 New Lua implementation by user [Nepta]
👁 Δ 31 2016-02-19, 21:39 New PHP implementation by user [nvius]
👁 Δ 30 2016-02-18, 16:57 [Haskell] Just added spaces for more idiomatic formatting
👁 Δ 29 2016-02-16, 19:41 [Haskell] Just added spaces for more idiomatic formatting
👁 Δ 28 2016-02-16, 19:41 [Haskell] Just added spaces for more idiomatic formatting
👁 Δ 27 2016-02-16, 18:59 [Haskell] Just added spaces for more idiomatic formatting
👁 Δ 26 2016-02-16, 18:06 [Haskell] Just added spaces for more idiomatic formatting
👁 Δ 25 2015-12-30, 23:34 [Go] +DocURL
👁 Δ 24 2015-12-18, 03:27 New Erlang implementation by user [elbrujohalcon]
👁 Δ 23 2015-11-30, 12:37
👁 Δ 22 2015-10-29, 14:05
👁 Δ 21 2015-09-04, 17:56
👁 Δ 20 2015-09-04, 17:53
👁 Δ 19 2015-09-04, 17:52
👁 Δ 18 2015-09-04, 17:51
👁 Δ 17 2015-09-04, 17:47
👁 Δ 16 2015-09-03, 17:28
👁 Δ 15 2015-08-23, 07:53
👁 Δ 14 2015-08-22, 10:33
👁 Δ 13 2015-08-21, 16:52
👁 Δ 12 2015-08-20, 15:33
👁 Δ 11 2015-08-20, 10:38
👁 Δ 10 2015-08-18, 13:27
👁 Δ 9 2015-08-01, 17:39
👁 Δ 8 2015-08-01, 17:39
👁 Δ 7 2015-08-01, 17:37
👁 Δ 6 2015-08-01, 17:37
👁 Δ 5 2015-07-31, 19:51
👁 Δ 4 2015-07-31, 19:50
👁 Δ 3 2015-05-06, 21:04
👁 Δ 2 2015-03-30, 10:59
1 2015-03-30, 10:58