halubilo.social
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
LinearArray to Programmer [email protected]English • 1 year ago

My wife was unimpressed by Vim

programming.dev

message-square
184
fedilink
949

My wife was unimpressed by Vim

programming.dev

LinearArray to Programmer [email protected]English • 1 year ago
message-square
184
fedilink
  • @[email protected]
    link
    fedilink
    2•1 year ago

    I guess shell languages can’t do this:

    export EDITOR=case "$OSTYPE" in
      linux*)
        nano
      ;;
      freebsd*)
        ee
      ;;
    
    • @[email protected]
      link
      fedilink
      2•
      edit-2
      1 year ago

      That would be too smart. Smells like kotlin’s when

    • @[email protected]
      link
      fedilink
      2•1 year ago

      Put backticks around the entire case statement, and you can.

Programmer [email protected]

[email protected]

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
  • 301 users / day
  • 3.5K users / week
  • 8.52K users / month
  • 19.1K users / 6 months
  • 24.6K subscribers
  • 1.53K Posts
  • 55.2K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @[email protected]
  • Pierre-Yves Lapersonne
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org