---
title: "Matthijs Cox (@matthijscox) | Hashnode"
description: "Scientific Software Engineer. Read the latest articles by Matthijs Cox on Hashnode."
url: "https://hashnode.com/@matthijscox"
---

@matthijscox

# Matthijs Cox

@matthijscox · The Netherlands · Joined April 2023

Scientific Software Engineer

## Comments

[Hi Joshua, I almost forgot about your talk, but I remember watching it and you definitely inspired me years ago. I should have included a link to your talk, thanks for reminding me! Let me know if you ever want to chat about this topic.](https://hashnode.com/posts/my-target-audience/643e830713ce9baa5df6631e/comment/68a7551ae246e86c68d72977#reply-68ac315ccb3dfa38133a55e1)

Reply · Article · Aug 25, 2025 · [My Target Audience](https://hashnode.com/posts/my-target-audience/643e830713ce9baa5df6631e)

[Hi Wolf, not sure what you are testing. Note that the timing depends on how you test it. The any(x -> x < 3, numbers) might look slow if you use @time, but that's because the anonymous function keeps getting recompiled for every call. Maybe that's what you mean? You can easily bypass this by placing it inside another function. Also you can use BenchmarkTools.@btime instead to ignore the compilation time. julia> numbers = \[1, 2, 3, 4, 5\]; julia> @time any(x -> x < 3, numbers) 0.006801 seconds (2.74 k allocations: 183.680 KiB, 99.01% compilation time) true julia> @time any(numbers .< 3) 0.000012 seconds (3 allocations: 128 bytes) true julia> any\_less(numbers, value) = any(x -> x < value, numbers) any\_less (generic function with 1 method) julia> @time any\_less(numbers, 3) # first call compiles the \`any\_less\` 0.009657 seconds (6.90 k allocations: 456.047 KiB, 99.76% compilation time) true julia> @time any\_less(numbers, 3) # now it's fast 0.000005 seconds true But perhaps you are talking about something else?](https://hashnode.com/posts/straightforward-functional-programming-examples-in-julia/66ea9f397fbba42647d1a479/comment/6704e6380c41bccb83c67e3e#reply-6705295d4836dcf7075e2df0)

Reply · Article · Oct 8, 2024 · [Straightforward Functional Programming Examples in Julia](https://hashnode.com/posts/straightforward-functional-programming-examples-in-julia/66ea9f397fbba42647d1a479)

[After reading these discussions, I may have interpreted :compact in the wrong way, it's not intended for switching between single-line and multi-line displaying. Also the philosophy of the 2-argument show(io::IO, t::MyType) is that it always returns an expression that can be evaluated, kinda like the constructor. You do not want compact mode to accidentally switch it to a multi-line printing.](https://hashnode.com/posts/user-defined-show-method-in-julia/64b6927d72b48291dcb16270/comment/66b480f3bca0913121b26784#reply-66b9da89031820634b573395)

Reply · Article · Aug 12, 2024 · [User-defined Show Method in Julia](https://hashnode.com/posts/user-defined-show-method-in-julia/64b6927d72b48291dcb16270)

[Found another summary of all show/print options, which will be added to the Julia docs: https://discourse.julialang.org/t/how-to-display-a-sparse-array-on-the-repl/113565/5 And this discussion: https://discourse.julialang.org/t/print-vs-two-argument-show-repr-vs-three-argument-show-repr-with-mime-text-plain/117790](https://hashnode.com/posts/user-defined-show-method-in-julia/64b6927d72b48291dcb16270/comment/66b480f3bca0913121b26784)

Comment · Article · Aug 8, 2024 · [User-defined Show Method in Julia](https://hashnode.com/posts/user-defined-show-method-in-julia/64b6927d72b48291dcb16270)

[Just found out the manual has a section on this topic: https://docs.julialang.org/en/v1/manual/types/#man-custom-pretty-printing](https://hashnode.com/posts/user-defined-show-method-in-julia/64b6927d72b48291dcb16270/comment/6672881f106dff012f60e03c)

Comment · Article · Jun 19, 2024 · [User-defined Show Method in Julia](https://hashnode.com/posts/user-defined-show-method-in-julia/64b6927d72b48291dcb16270)

[Would you say there's a difference in the effectiveness of the structures I compare? They all seem rather easy to use and understand to me.](https://hashnode.com/posts/to-dict-or-not-to-dict-comparing-data-structure-sizes/66582ef867391d40722baf95/comment/665834d1da7e8a742cd7dc3a#reply-665858e5ea21ec407839d39a)

Reply · Article · May 30, 2024 · [To Dict Or Not To Dict: Comparing Data Structure Sizes](https://hashnode.com/posts/to-dict-or-not-to-dict-comparing-data-structure-sizes/66582ef867391d40722baf95)

[I can't really imagine that it's ever a big factor in your decision. People may have a preference, I prefer the in-language approach, but compiled languages like Rust/C++/etc don't even use a REPL, so then keeping it outside makes sense.](https://hashnode.com/posts/comparing-package-management-in-python-r-julia-and-rust/664f0b01eeb725f2571f61b1/comment/6650c4e0a6d2525231cdbe37#reply-66517bda5a02c4f021631532)

Reply · Article · May 25, 2024 · [Comparing Package Management in Python, R, Julia, and Rust](https://hashnode.com/posts/comparing-package-management-in-python-r-julia-and-rust/664f0b01eeb725f2571f61b1)

[cool, thanks for yet another suggestion :)](https://hashnode.com/posts/fruity-composable-design-patterns-in-julia/64958d80d5dec1509f8f963c/comment/6499c01a5244606d9b5ff904#reply-649aa23064e19e74c4064c1f)

Reply · Article · Jun 27, 2023 · [Fruity Composable Design Patterns in Julia](https://hashnode.com/posts/fruity-composable-design-patterns-in-julia/64958d80d5dec1509f8f963c)

[I must admit I don't use Pluto a lot myself ;) But since Pluto itself is barely ever used inside other code, we could consider it a REPL utility, so I'd say it's pretty safe to add it to the global environment. Pluto will start a separate environment for you anyway once you launch it.](https://hashnode.com/posts/clean-code-tips-for-scientists-1-reproducible-environments/646dfd20bee3c8c70e018490/comment/646e11271e4ceb4ac27d6114#reply-64703e59bd422f7eb3b30a67)

Reply · Article · May 26, 2023 · [Clean Code Tips for Scientists #1 - Reproducible Environments](https://hashnode.com/posts/clean-code-tips-for-scientists-1-reproducible-environments/646dfd20bee3c8c70e018490)

[Nice overview! Some of my engineers have also tried out Oxygen.jl which is a micro-framework around HTTP.jl, adding a little extra elegance.](https://hashnode.com/posts/web-development-with-julia/64564e675cb2000f70a6e680/comment/6458ae5030be1a2397aa7e10)

Comment · Article · May 8, 2023 · [Web Development with Julia](https://hashnode.com/posts/web-development-with-julia/64564e675cb2000f70a6e680)
