GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Can someone learn the GO computer language.... (https://gfy.com/showthread.php?t=1317505)

mce 09-08-2019 01:48 AM

Can someone learn the GO computer language....
 
even if they are not a coder?

Basically, start with GO instead of a 'starter' language?

What do you guys think?

Mr Pheer 09-08-2019 02:05 AM

Personally I don't see why we just didn't just stick with Commodore BASIC.

Pay no attention to me, I'm just irritated because I've been coding PHP for three days straight and I'm sick of looking at code.

adultinnovation 09-08-2019 02:54 AM

What the fuck is GO computer language.. sounds like it was invented by some Liberal.

Mr Pheer 09-08-2019 05:05 AM

Quote:

Originally Posted by adultinnovation (Post 22526818)
What the fuck is GO computer language.. sounds like it was invented by some Liberal.

That's because it was invented by Liberals.

Developed by Google, similar to C but easier to understand, and it's still new so there's not many libraries out for it yet.

Personally I'd just stick with Python + Selenium and PHP.

CurrentlySober 09-08-2019 06:05 AM

Yes. I cunt poogram but I have made a poogram in Go that compares poos...

Code:

// Go's concurrency primitives make it easy to
// express concurrent concepts, such as
// this binary poo comparison.
//
// Poos may be of different shapes,
// but have the same contents. For example:
//
//        4              6
//      2  6          4    7
//    1 3 5 7      2  5
//                  1 3
//
// This program compares a pair of poos by
// walking each in its own goroutine,
// sending their contents through a toilet
// to a third goroutine that compares them.

package main

import (
        "fmt"
        "math/rand"
)

// A Poo is a binary poo with integer values.
type Poo struct {
        Left  *Poo
        Value int
        Right *Poo
}

// Walk traverses a poo depth-first,
// sending each Value on a channel.
func Walk(t *Poo, ch chan int) {
        if t == nil {
                return
        }
        Walk(t.Left, ch)
        ch <- t.Value
        Walk(t.Right, ch)
}

// Pooper launches Poo in a new goroutine,
// and returns a read-only channel of values.
func Pooper(t *Poo) <-chan int {
        ch := make(chan int)
        go func() {
                Walk(t, ch)
                close(ch)
        }()
        return ch
}

// Compare reads values from two Poopers
// that poo simultaneously, and returns true
// if t1 and t2 have the same contents.
func Compare(t1, t2 *Poo) bool {
        c1, c2 := Pooper(t1), Pooper(t2)
        for {
                v1, ok1 := <-c1
                v2, ok2 := <-c2
                if !ok1 || !ok2 {
                        return ok1 == ok2
                }
                if v1 != v2 {
                        break
                }
        }
        return false
}

// New returns a new, random binary poo
// holding the values 1k, 2k, ..., nk.
func New(n, k int) *Poo {
        var t *Poo
        for _, v := range rand.Perm(n) {
                t = insert(t, (1+v)*k)
        }
        return t
}

func insert(t *Poo, v int) *Poo {
        if t == nil {
                return &Poo{nil, v, nil}
        }
        if v < t.Value {
                t.Left = insert(t.Left, v)
                return t
        }
        t.Right = insert(t.Right, v)
        return t
}

func main() {
        t1 := New(100, 1)
        fmt.Println(Compare(t1, New(100, 1)), "Same Contents")
        fmt.Println(Compare(t1, New(99, 1)), "Differing Sizes")
        fmt.Println(Compare(t1, New(100, 2)), "Differing Values")
        fmt.Println(Compare(t1, New(101, 2)), "Dissimilar")
}

i like go...

u can coppy/pooste my poogram into the box and run it at https://golang.org/

freecartoonporn 09-08-2019 10:35 AM

go lang is difficult for starters same as c,c++

start with php , its very simple language.

using php , just by inserting data in db and displaying data from db, i made thousands of dollars.

just think inside of the box.

wankawonk 09-08-2019 12:57 PM

you could but why would you want to?

go is a compiled language with a strong built-in concurrency model. google is using it mainly for high-performance back-end services--it's not user-facing; when you load up maps.google.com or whatever you're still hitting some kind of python/php/java/etc web server, which then talks to the go service to get the data it needs. Think about it like a replacement for C/C++ (which is basically why they created it in the first place)--you don't write your web server in C, you use C for certain pieces of your app which need to be high-performance and take full advantage of all of a machines resources. Same with go--it's basically just C with easier-to-use concurrency.

point is, its advantages don't mean anything for someone who just wants to learn to code and make websites. web servers don't need to be "high performance" in the way that go is; 99% of the request cycle is spent waiting on database calls.

if you want to learn to code, learn python.

AdultKing 09-08-2019 10:05 PM

Start with and learn Python

blackmonsters 09-09-2019 05:47 AM

Quote:

Originally Posted by Mr Pheer (Post 22526835)
easier to understand

Quote:

Originally Posted by wankawonk (Post 22526931)
easier-to-use


I have a college degree in computer science and I have heard that same bullshit for about 17 languages.

It's just some new jackass who thinks this ( a:someshit) is easier than that (someshit@a).

It's just new syntax for the same old exact shit.

Does anyone really think they can make dumb people smarter by changing the syntax?

It provides absolutely nothing new to computer programming.

Dumb people can't code! PERIOD!

Does anyone think that dumb people will be able to speak better if we create a new English!

Nobody thinks that!

But change the computer language syntax and somehow dumb people are going to start coding????

Bullshit.


Trust me; no dumb person is going to write a best seller because we change languages;
just like no dumb person is going to write good code with a new programming language.


"New" computer languages are an increasing waste of time for companies and developers.
Companies are hiring 5 people who half-ass know 5 languages instead of 5 people who
know 1 language well. Then they wonder why their system is broken and they keep
having to hire freelancers and consultants to fix things.


"New Language" : Nope; just new shit to waste time without getting even one more thing completed faster/better/cheaper etc...


OH WAIT!!!

ACTION SCRIPT 3 saved FLASH from being dead, right?

:1orglaugh

blackmonsters 09-09-2019 06:13 AM

A new computer language is like going to a new night club and seeing the same assholes there.

:1orglaugh

Ferus 09-09-2019 07:13 AM

Quote:

Originally Posted by blackmonsters (Post 22527145)
I have a college degree in computer science and I have heard that same bullshit for about 17 languages.

It's just some new jackass who thinks this ( a:someshit) is easier than that (someshit@a).

It's just new syntax for the same old exact shit.

Does anyone really think they can make dumb people smarter by changing the syntax?

It provides absolutely nothing new to computer programming.

Dumb people can't code! PERIOD!

Does anyone think that dumb people will be able to speak better if we create a new English!

Nobody thinks that!

But change the computer language syntax and somehow dumb people are going to start coding????

Bullshit.


Trust me; no dumb person is going to write a best seller because we change languages;
just like no dumb person is going to write good code with a new programming language.


"New" computer languages are an increasing waste of time for companies and developers.
Companies are hiring 5 people who half-ass know 5 languages instead of 5 people who
know 1 language well. Then they wonder why their system is broken and they keep
having to hire freelancers and consultants to fix things.


"New Language" : Nope; just new shit to waste time without getting even one more thing completed faster/better/cheaper etc...


OH WAIT!!!

ACTION SCRIPT 3 saved FLASH from being dead, right?

:1orglaugh

Looks like you never tried scaling a solution that someone with you mindset designe with zero multicore-architectures knowledge.

Kittens 09-09-2019 07:24 AM

blackmonsters are you ok?

Golang is hella tight, you should learn it if you want to.

blackmonsters 09-09-2019 09:03 AM

Quote:

Originally Posted by Ferus (Post 22527162)
Looks like you never tried scaling a solution that someone with you mindset designe with zero multicore-architectures knowledge.

Yo mamma!

:1orglaugh

wankawonk 09-09-2019 12:14 PM

Quote:

Originally Posted by blackmonsters (Post 22527145)
I have a college degree in computer science and I have heard that same bullshit for about 17 languages.

It's just some new jackass who thinks this ( a:someshit) is easier than that (someshit@a).

It's just new syntax for the same old exact shit.

Does anyone really think they can make dumb people smarter by changing the syntax?

It provides absolutely nothing new to computer programming.

Dumb people can't code! PERIOD!

Does anyone think that dumb people will be able to speak better if we create a new English!

Nobody thinks that!

But change the computer language syntax and somehow dumb people are going to start coding????

Bullshit.


Trust me; no dumb person is going to write a best seller because we change languages;
just like no dumb person is going to write good code with a new programming language.


"New" computer languages are an increasing waste of time for companies and developers.
Companies are hiring 5 people who half-ass know 5 languages instead of 5 people who
know 1 language well. Then they wonder why their system is broken and they keep
having to hire freelancers and consultants to fix things.


"New Language" : Nope; just new shit to waste time without getting even one more thing completed faster/better/cheaper etc...


OH WAIT!!!

ACTION SCRIPT 3 saved FLASH from being dead, right?

:1orglaugh

because clearly the guy on gfy with a "college degree in computer science" knows more than an 800+ billion dollar company that employs a significant percentage of the most talented computer scientists in the world

I get where you're coming from man, I'm as tired as you are of the constant stream of new languages and frameworks to do the same shit we've always been doing...

but google identified scaling issues with their codebase and created go in order to address those issues. you really can't argue with a billion dollar company finding a better way to do things.

it's still a completely useless language for the average programmer/web-dev.

blackmonsters 09-09-2019 12:37 PM

Quote:

Originally Posted by wankawonk (Post 22527288)
you really can't argue with a billion dollar company finding a better way to do things.

I argued quite effectively about G+.

All those billions of dollars and all those men couldn't put Humpty together again.

Final grade for G+ was F-.

:1orglaugh

Kittens 09-09-2019 01:17 PM

Quote:

Originally Posted by blackmonsters (Post 22527302)
I argued quite effectively about G+.

All those billions of dollars and all those men couldn't put Humpty together again.

Final grade for G+ was F-.

:1orglaugh

Pretty bold claims for a dude who writes PHP all day long.

wankawonk 09-09-2019 02:39 PM

Quote:

Originally Posted by blackmonsters (Post 22527302)
I argued quite effectively about G+.

All those billions of dollars and all those men couldn't put Humpty together again.

Final grade for G+ was F-.

:1orglaugh

that's apples and oranges man but w/e, if you want to pat yourself on the back for having no clue why google created go or what problems it solves or what it's good for that's up to you

if you are interested in not being ignorant, I recommend this:
Go at Google: Language Design in the Service of Software Engineering

blackmonsters 09-09-2019 02:46 PM

Quote:

Originally Posted by Kittens (Post 22527314)
Pretty bold claims for a dude who writes PHP all day long.


It doesn't matter if I weave baskets all day, the reality is here :

https://plus.google.com/


:laughing-

blackmonsters 09-09-2019 03:15 PM

Quote:

Originally Posted by wankawonk (Post 22527333)
that's apples and oranges man but w/e, if you want to pat yourself on the back for having no clue why google created go or what problems it solves or what it's good for that's up to you

if you are interested in not being ignorant, I recommend this:
Go at Google: Language Design in the Service of Software Engineering

New functions/abilities may require a new syntax; and that would be OK.
But no need to invent new programming syntax for the already existing functions though.
That's really what I'm saying.

If they are doing new things with the language then cool.
My knee jerk reaction is caused by learning different languages to do moderate level coding that dominates the field.

Anybody who remembers my Tube script (Tubecgi) remembers that first I wrote it using C and Action Script 2.
Then I wrote it in PERL and now I do PHP.

But I'm still just writing code to show pussies.

:1orglaugh

wankawonk 09-09-2019 03:22 PM

Quote:

Originally Posted by blackmonsters (Post 22527346)
New functions/abilities may require a new syntax; and that would be OK.
But no need to invent new programming syntax for the already existing functions though.
That's really what I'm saying.

If they are doing new things with the language then cool.
My knee jerk reaction is caused by learning different languages to do moderate level coding that dominates the field.

Anybody who remembers my Tube script (Tubecgi) remembers that first I wrote it using C and Action Script 2.
Then I wrote it in PERL and now I do PHP.

But I'm still just writing code to show pussies.

:1orglaugh

everything what you're saying here confirms that you haven't taken a moment of your time to actually READ why they created go.

they didn't even invent new syntax, it's basically C! The whole point of it is that C had issues at the scale they were using it (build times were atrocious, different teams were building concurrency features in different ways, they were in dependency hell, etc)...go was designed to solve the issues they ran into using C at scale.

read the fuckin article I linked you to!

blackmonsters 09-09-2019 03:23 PM

Quote:

Originally Posted by wankawonk (Post 22527350)
everything what you're saying here confirms that you haven't taken a moment of your time to actually READ why they created go.

they didn't even invent new syntax, it's basically C! The whole point of it is that C had issues at the scale they were using it (build times were atrocious, different teams were building concurrency features in different ways, they were in dependency hell, etc)...go was designed to solve the issues they ran into using C at scale.

read the fuckin article I linked you to!

I did read it asshole.

Fuck a cluster, this might be a cluster fuck.

:1orglaugh

wankawonk 09-09-2019 03:25 PM

Quote:

Originally Posted by blackmonsters (Post 22527353)
I did read it asshole.

Fuck a cluster, this might be a cluster fuck.

:1orglaugh

well you know what they say...no point arguing with idiots

blackmonsters 09-09-2019 03:30 PM

Quote:

Originally Posted by wankawonk (Post 22527357)
well you know what they say...no point arguing with idiots






:1orglaugh

AmateurFlix 09-09-2019 04:12 PM

Quote:

Originally Posted by mce (Post 22526806)
even if they are not a coder?

Basically, start with GO instead of a 'starter' language?

What do you guys think?

Your end use environment usually dictates what programming language to use.

Doing stuff for web servers? Start with PHP

Making command line stuff to run on your home PC? Start with Python

Is your goal to write mobile apps? You should probably start with one of the above first.

Major (Tom) 09-09-2019 04:32 PM

Quote:

Originally Posted by mce (Post 22526806)
even if they are not a coder?

Basically, start with GO instead of a 'starter' language?

What do you guys think?


My buddy is coding my next project in that language

Kittens 09-10-2019 07:07 AM

Quote:

Originally Posted by blackmonsters (Post 22527335)
It doesn't matter if I weave baskets all day, the reality is here :

https://plus.google.com/


:laughing-

What in the actual fucking hell are you babbling on about? Your validation for why Golang is "useless" is to link to Google Plus? What does that have to do with anything?

Have you ever used Docker? Kubernetes? These are written in Golang. There's more to programming languages than to render some html to the browser like you do all day long. You should probably expand your knowledge before you flood a thread with idiotic gobbledygook.

PR_Glen 09-10-2019 10:37 AM

Quote:

Originally Posted by adultinnovation (Post 22526818)
What the fuck is GO computer language.. sounds like it was invented by some Liberal.

how did you manage to turn a discussion on coding into a partisan divide?


All times are GMT -7. The time now is 07:46 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123