News for hackers. Stuff that matters.
Re:Get answers for Shell Commands from GPT3 right from your ... by fyloraspit on Friday November 18, 2022 @07:08AM (#33653472)
It's not a real programming language tho
Re:Get answers for Shell Commands from GPT3 right from your ... by bheadmaster on Friday November 18, 2022 @07:46AM (#33653809)
Yeah! REAL programmers program only in the REAL programming languages like ${MY_FAVORITE_LANG}. Bash? More like - Bah!.
Re:Get answers for Shell Commands from GPT3 right from your ... by roywiggins on Friday November 18, 2022 @09:57AM (#33655621)
It's not a real programming language in the same way Brainfuck isn't a real programming language, because it makes life too hard.
Re:Get answers for Shell Commands from GPT3 right from your ... by bheadmaster on Friday November 18, 2022 @10:25AM (#33656021)
So does Java, yet it is still considered a real programming language...
Re:Get answers for Shell Commands from GPT3 right from your ... by synu on Friday November 18, 2022 @10:44AM (#33656364)
I always have to share this video on threads like these: https://youtu.be/kdMG40wUCm4. Maybe you’ve seen it - interview with a senior Java developer in 2022.
Re:Get answers for Shell Commands from GPT3 right from your ... by still_grokking on Friday November 18, 2022 @12:00PM (#33657676)
Let me summarize. Java, the good parts:

> We don't actually use Java. We use Scala.

Re:Get answers for Shell Commands from GPT3 right from your ... by bheadmaster on Friday November 18, 2022 @12:05PM (#33657763)
> It has clean code and a clear architecture which makes it perfect for serious business

I love how vague and meaningless this is, yet I still feel like I've heard this sentence said unironically a hundred times.

Re:Get answers for Shell Commands from GPT3 right from your ... by woodrowbarlow on Friday November 18, 2022 @08:16AM (#33654113)
true, but nothing (besides how entrenched sh is) prevents replacing it with a real language. you don't need to use a posix shell in your terminal, any REPL that can launch executables will do. i used tclsh as my shell for a while, for instance.
Re:Get answers for Shell Commands from GPT3 right from your ... by still_grokking on Friday November 18, 2022 @11:54AM (#33657568)
So why do people write real production code in it?