Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.
2 Removed spaces, thanked Pavel
source | link

Rust, 152152 142 bytes

|n| {for i in 0..n {println!("");if i % 2 == 1 i%2==1{print!("<");for _ in 1..i {print!("-");}} else {for _ in 1..i {print!("-");}print!(">");}}println!("");};

Down from 152 bytes to 142 bytes thanks to Pavel.

Rust, 152 bytes

|n| {for i in 0..n {println!("");if i % 2 == 1 {print!("<");for _ in 1..i {print!("-");}} else {for _ in 1..i {print!("-");}print!(">");}}println!("");}

Rust, 152 142 bytes

|n|{for i in 0..n{println!("");if i%2==1{print!("<");for _ in 1..i{print!("-");}}else{for _ in 1..i{print!("-");}print!(">");}}println!("");};

Down from 152 bytes to 142 bytes thanks to Pavel.

1
source | link

Rust, 152 bytes

|n| {for i in 0..n {println!("");if i % 2 == 1 {print!("<");for _ in 1..i {print!("-");}} else {for _ in 1..i {print!("-");}print!(">");}}println!("");}