Skip to content
View matthewdavi's full-sized avatar

Block or report matthewdavi

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. default params as a form of "let bin... default params as a form of "let binding"
    1
    /* I've been thinking about default params a bit. And how you can use earlier params as values in the default params. 
    2
    It's a nice way to write functions without introducing any variable declaration statements in the body */ 
    3
    
                  
    4
    const greaterThan = num1 => num2 => num1 < num2;
    5
    const not = fn => (...args) => !fn(...args);
  2. Recursive react component Recursive react component
    1
    /* I haven't seen anyone write about this, but I thought about it this morning in the shower and it works, why wouldn't it? 
    2
    JSX is just sugar for function calls (React.createElement). */
    3
    
                  
    4
    const Fib: React.FC<{
    5
      start?: number;
  3. scrabblesolver scrabblesolver Public

    scrabblesolver

    JavaScript