Try typing your umpteenth semi colon and curly brackets. That shit ain't aesthetics, it's miserable.
Javascript is owned by Oracle. Go is made by Google. I release that they're both open source, but it's rad that we have a language that's on board with the free software movement, and that's created and maintained by volunteers.
Passing arguments in static typed language are a pain 😩
If avoiding typing extra characters is high on your list of priorities for a language then you need more experience programming. Higher priorities should revolve around ensuring the code you write works.
JavaScript is not owned by Oracle, that's Java, which has nothing to do with JavaScript besides curly braces. JavaScript has no license. There is a public reference spec and various (sometimes conflicting) implentations of an interpreter.
Despite official releases of java being proprietary, there are always compatible releases of OpenJDk which are GPLv2
Google doesn't own Go either, some ex-google engineers did start it but its BSD license.
Passing arguments in static typed language are a pain 😩
:warf-wtf: are you using different types for the same arguements? This is a first class way to break your program. Good python development is constantly manually checking for programmer error as though it was user error. Static languages just do that for you.
Passing arrays inside C type languages is horrible. Other users already responded to the ownership issue. Honestly I'm just pretending to be mad because I want to see programming struggle session. But obviously I don't want to actually upset anyone.
Sure, I specifically hate writing in C and have no issue saying sending arrays around in C isn't fun. I took "C type languages" as anything in the very specific C++ lineage, considering the very first complaint in this conversation was about semi-colons and brackets. Like, what's a "C type" language even mean if the only option is "C"? I was simply pointing out complaining about passing arrays around in a "C type language" is a weird complaint as your reason for using primarily python as there are a mountain of languages between "Python or C" that don't have that issue.
If all you care about is the syntax then yes. But java is so fundamentally different under the hood than C that I would call it its own thing. Like it's hardwired to be OOP, you dont do any manual memory management, and its compiled to run on a special VM. I would say that's wildly different from C.
Its like how JavaScript is meant to look like Java but its really far more like LISP under the hood.
Passing arrays in C isn't hard because of the syntax. Its hard because of how C handles memory. C# and Java are designed to be memory safe so they dont have that problem.
It’s really not that bad once you’re used to it. If you’re coding for fun, I see how it’d be a pain, but when you’re coding 8hrs a day it quickly becomes second nature
Try typing your umpteenth semi colon and curly brackets. That shit ain’t aesthetics, it’s miserable.
Why do you use punctuation in your sentences?
edit: I should clarify my point. I think the thing that makes python easy to write (uses whitespace as opposed to semi-colons and curly brackets) makes it considerably harder to quickly read. Those symbols mean things and it means your brain can make quick assumptions as you're reviewing code. Which is also a useful facet of punctuation in written language.
Edit: feck please just scroll down to the "Trademark" heading, my link didn't work fully
I realise that it's a lot more complicated than "Sun Microsystems made Javascript", but it's nice having a programming language that's in the middle of the free software movement.
there's been some experiments teaching it to children - it's about as easy as python but it's a completely different way of thinking. in some ways, it's easiest to learn if you haven't been introduced to an imperative language already. I'd say they were two totally different skillsets except that you write radically different code in imperative languages that allow for higher-order functions after you've learned Haskell.
Oh, yeah, absolutely do what brings you joy. I won’t argue with that. The one time that I programmed for fun in the past two years, I did it with python because it was easy to set up and get going. I’d just never want to use it for the bulk of what I do for serious work.
If you ever want to give C another try, this (online, fully free) book has a great introduction to it, with python comparisons: https://diveintosystems.org/book/
Back in my day we wrote everything in machine language. Want a variable? Fuck you. Want a for loop? Fuck you. Want to move your code to a different CPU? Fuck you in all holes simultaneously.
Just use Ruby, it does just about everything python does and then some, but the package management works and you don't have to struggle against load-bearing whitespace the whole time
:downbear:
No curly brackets
No semi-colons
No need to declare variables
There's 8 trillion useful and free libraries
It's all open source
Passing arguments in function calls is so much easier
Classes are painless
DON'T YOU DARE INSULT MY PYTHON YOU LIBERAL
Try typing your umpteenth semi colon and curly brackets. That shit ain't aesthetics, it's miserable.
Javascript is owned by Oracle. Go is made by Google. I release that they're both open source, but it's rad that we have a language that's on board with the free software movement, and that's created and maintained by volunteers.
Passing arguments in static typed language are a pain 😩
If avoiding typing extra characters is high on your list of priorities for a language then you need more experience programming. Higher priorities should revolve around ensuring the code you write works.
JavaScript is not owned by Oracle, that's Java, which has nothing to do with JavaScript besides curly braces. JavaScript has no license. There is a public reference spec and various (sometimes conflicting) implentations of an interpreter.
Despite official releases of java being proprietary, there are always compatible releases of OpenJDk which are GPLv2
Google doesn't own Go either, some ex-google engineers did start it but its BSD license.
:warf-wtf: are you using different types for the same arguements? This is a first class way to break your program. Good python development is constantly manually checking for programmer error as though it was user error. Static languages just do that for you.
in practice google effectively owns go. the language is still rapidly changing and none of those changes happen unless google's ok with it
Passing arrays inside C type languages is horrible. Other users already responded to the ownership issue. Honestly I'm just pretending to be mad because I want to see programming struggle session. But obviously I don't want to actually upset anyone.
I don't understand this one. C# is one of the most popular C type languages, and there's nothing weird about passing arrays?
Thats because C# is only a "C-type" language in name and curly braces. In reality its just Microsoft Java.
Is Java not also a C derivative?
not really no. the syntax is similar, but it has more in common with C++ than C.
i sort of agree with @ButtBidet on C specifically, where arrays are essentially just syntactic sugar for memory pointers.
Sure, I specifically hate writing in C and have no issue saying sending arrays around in C isn't fun. I took "C type languages" as anything in the very specific C++ lineage, considering the very first complaint in this conversation was about semi-colons and brackets. Like, what's a "C type" language even mean if the only option is "C"? I was simply pointing out complaining about passing arrays around in a "C type language" is a weird complaint as your reason for using primarily python as there are a mountain of languages between "Python or C" that don't have that issue.
If all you care about is the syntax then yes. But java is so fundamentally different under the hood than C that I would call it its own thing. Like it's hardwired to be OOP, you dont do any manual memory management, and its compiled to run on a special VM. I would say that's wildly different from C.
Its like how JavaScript is meant to look like Java but its really far more like LISP under the hood.
but we're in a thread talking very specifically about syntax...
Passing arrays in C isn't hard because of the syntax. Its hard because of how C handles memory. C# and Java are designed to be memory safe so they dont have that problem.
It’s really not that bad once you’re used to it. If you’re coding for fun, I see how it’d be a pain, but when you’re coding 8hrs a day it quickly becomes second nature
Why do you use punctuation in your sentences?
edit: I should clarify my point. I think the thing that makes python easy to write (uses whitespace as opposed to semi-colons and curly brackets) makes it considerably harder to quickly read. Those symbols mean things and it means your brain can make quick assumptions as you're reviewing code. Which is also a useful facet of punctuation in written language.
are you confusing it with Java?
"Javascript" trademark
Edit: feck please just scroll down to the "Trademark" heading, my link didn't work fully
I realise that it's a lot more complicated than "Sun Microsystems made Javascript", but it's nice having a programming language that's in the middle of the free software movement.
I've written some C in my time and no, no it isn't.
deleted by creator
Haskell is this but it takes a quarter of the code to get work done.
Ya cuz Haskell is so damn easy that most programmers prefer it.
there's been some experiments teaching it to children - it's about as easy as python but it's a completely different way of thinking. in some ways, it's easiest to learn if you haven't been introduced to an imperative language already. I'd say they were two totally different skillsets except that you write radically different code in imperative languages that allow for higher-order functions after you've learned Haskell.
You could say the same about Lisp
yea, I just prefer having a static type system. I'm too dumb to code without one.
:data-laughing:
I mainly code in C/C++ these days, for work reasons
I can’t stand python anymore. It’s so presumptuous!!! Give me more control over what’s going on under the hood!!! aaaaaaaa
(I am drunk)
deleted by creator
Oh, yeah, absolutely do what brings you joy. I won’t argue with that. The one time that I programmed for fun in the past two years, I did it with python because it was easy to set up and get going. I’d just never want to use it for the bulk of what I do for serious work.
If you ever want to give C another try, this (online, fully free) book has a great introduction to it, with python comparisons: https://diveintosystems.org/book/
deleted by creator
Drunk on static typing, you are
deleted by creator
Back in my day we wrote everything in machine language. Want a variable? Fuck you. Want a for loop? Fuck you. Want to move your code to a different CPU? Fuck you in all holes simultaneously.
kiddo i've shit out punchcards that are bigger than you, hoooeyy
Just use Ruby, it does just about everything python does and then some, but the package management works and you don't have to struggle against load-bearing whitespace the whole time