โฒ 784 โผ This guyโs a real Upstart if you ask me (lemmy.world) submitted 1 week ago by cannedtuna@lemmy.world to c/linuxmemes@lemmy.world 185 comments fedilink hide all child comments
[โ] Viceversa@lemmy.world [S] 4 points 6 days ago* (1 child) Really completely different? Do they not print first / last lines of text from a file into the terminal? permalink fedilink source parent hideshow 2 child comments replies: [โ] LodeMike@lemmy.today [S] -1 points 6 days ago* (1 child) The way they do it is fundamentally different. Head just reads until number of newlines is the target number. Tail has to first read the entire file and keep a buffer of the file and/or offsets for each line ending to determine what the last 10 (or so) lines are. This idiot (Gabriel) probably thinks exclusively in the real world paper line analog. I also just looked at each program's command line options and they're identical. Less things only Tail can do (because they're fundamentally different operations) permalink fedilink source parent hideshow 2 child comments replies: [โ] qqq@lemmy.world [S] 7 points 6 days ago* (1 child) This idiot (Gabriel) probably thinks exclusively in the real world paper line analog. Typical of Internet discourse to just immediately brand someone you disagree with an idiot... That "idiot" is one of the designers of common lisp, among other things. You're allowed to disagree with a smart person too you know permalink fedilink source parent hideshow 2 child comments replies: [โ] LodeMike@lemmy.today [S] -3 points 6 days ago* (1 child) OK. Designers of programming languages can be idiots. Lisp is a bad language IMO. Way too mathy. Nobody programs like that anymore for a reason. permalink fedilink source parent hideshow 2 child comments replies: [โ] Viceversa@lemmy.world [S] 2 points 6 days ago* (last edited 6 days ago) Programming language is a tool. Do you think there're no more tasks left where "mathy" programming language would be preferable? permalink fedilink source parent
[โ] LodeMike@lemmy.today [S] -1 points 6 days ago* (1 child) The way they do it is fundamentally different. Head just reads until number of newlines is the target number. Tail has to first read the entire file and keep a buffer of the file and/or offsets for each line ending to determine what the last 10 (or so) lines are. This idiot (Gabriel) probably thinks exclusively in the real world paper line analog. I also just looked at each program's command line options and they're identical. Less things only Tail can do (because they're fundamentally different operations) permalink fedilink source parent hideshow 2 child comments replies: [โ] qqq@lemmy.world [S] 7 points 6 days ago* (1 child) This idiot (Gabriel) probably thinks exclusively in the real world paper line analog. Typical of Internet discourse to just immediately brand someone you disagree with an idiot... That "idiot" is one of the designers of common lisp, among other things. You're allowed to disagree with a smart person too you know permalink fedilink source parent hideshow 2 child comments replies: [โ] LodeMike@lemmy.today [S] -3 points 6 days ago* (1 child) OK. Designers of programming languages can be idiots. Lisp is a bad language IMO. Way too mathy. Nobody programs like that anymore for a reason. permalink fedilink source parent hideshow 2 child comments replies: [โ] Viceversa@lemmy.world [S] 2 points 6 days ago* (last edited 6 days ago) Programming language is a tool. Do you think there're no more tasks left where "mathy" programming language would be preferable? permalink fedilink source parent
[โ] qqq@lemmy.world [S] 7 points 6 days ago* (1 child) This idiot (Gabriel) probably thinks exclusively in the real world paper line analog. Typical of Internet discourse to just immediately brand someone you disagree with an idiot... That "idiot" is one of the designers of common lisp, among other things. You're allowed to disagree with a smart person too you know permalink fedilink source parent hideshow 2 child comments replies: [โ] LodeMike@lemmy.today [S] -3 points 6 days ago* (1 child) OK. Designers of programming languages can be idiots. Lisp is a bad language IMO. Way too mathy. Nobody programs like that anymore for a reason. permalink fedilink source parent hideshow 2 child comments replies: [โ] Viceversa@lemmy.world [S] 2 points 6 days ago* (last edited 6 days ago) Programming language is a tool. Do you think there're no more tasks left where "mathy" programming language would be preferable? permalink fedilink source parent
[โ] LodeMike@lemmy.today [S] -3 points 6 days ago* (1 child) OK. Designers of programming languages can be idiots. Lisp is a bad language IMO. Way too mathy. Nobody programs like that anymore for a reason. permalink fedilink source parent hideshow 2 child comments replies: [โ] Viceversa@lemmy.world [S] 2 points 6 days ago* (last edited 6 days ago) Programming language is a tool. Do you think there're no more tasks left where "mathy" programming language would be preferable? permalink fedilink source parent
[โ] Viceversa@lemmy.world [S] 2 points 6 days ago* (last edited 6 days ago) Programming language is a tool. Do you think there're no more tasks left where "mathy" programming language would be preferable? permalink fedilink source parent