![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Jun 2012
Location: All Over
Posts: 3,917
|
![]() even if they are not a coder?
Basically, start with GO instead of a 'starter' language? What do you guys think?
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Retired
Industry Role:
Join Date: Dec 2002
Posts: 21,206
|
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
So Fucking Banned
Industry Role:
Join Date: Mar 2019
Location: usa
Posts: 5,063
|
What the fuck is GO computer language.. sounds like it was invented by some Liberal.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
Retired
Industry Role:
Join Date: Dec 2002
Posts: 21,206
|
Quote:
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. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Too lazy to wipe my ass
Industry Role:
Join Date: Aug 2002
Location: A Public Bathroom
Posts: 38,642
|
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") } u can coppy/pooste my poogram into the box and run it at https://golang.org/ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Industry Role:
Join Date: Jan 2012
Location: NC
Posts: 7,683
|
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.
__________________
SSD Cloud Server, VPS Server, Simple Cloud Hosting | DigitalOcean
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Industry Role:
Join Date: Aug 2015
Posts: 1,018
|
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Raise Your Weapon
Industry Role:
Join Date: Jun 2003
Location: Outback Australia
Posts: 15,601
|
Start with and learn Python
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Making PHP work
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,564
|
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? ![]()
__________________
Make Money with Porn |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Making PHP work
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,564
|
A new computer language is like going to a new night club and seeing the same assholes there.
![]()
__________________
Make Money with Porn |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
Bye - Left to do stuff
Industry Role:
Join Date: Feb 2013
Posts: 4,108
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
👏 REVOLUTIONARY 👏
Industry Role:
Join Date: Jan 2016
Posts: 1,440
|
blackmonsters are you ok?
Golang is hella tight, you should learn it if you want to.
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 | |
Making PHP work
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,564
|
Quote:
![]()
__________________
Make Money with Porn |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 | |
Confirmed User
Industry Role:
Join Date: Aug 2015
Posts: 1,018
|
Quote:
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. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 | |
Making PHP work
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,564
|
Quote:
All those billions of dollars and all those men couldn't put Humpty together again. Final grade for G+ was F-. ![]()
__________________
Make Money with Porn |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 |
👏 REVOLUTIONARY 👏
Industry Role:
Join Date: Jan 2016
Posts: 1,440
|
Pretty bold claims for a dude who writes PHP all day long.
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 | |
Confirmed User
Industry Role:
Join Date: Aug 2015
Posts: 1,018
|
Quote:
if you are interested in not being ignorant, I recommend this: Go at Google: Language Design in the Service of Software Engineering |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 |
Making PHP work
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,564
|
__________________
Make Money with Porn |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 | |
Making PHP work
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,564
|
Quote:
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. ![]()
__________________
Make Money with Porn |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#20 | |
Confirmed User
Industry Role:
Join Date: Aug 2015
Posts: 1,018
|
Quote:
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! |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#21 | |
Making PHP work
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,564
|
Quote:
Fuck a cluster, this might be a cluster fuck. ![]()
__________________
Make Money with Porn |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#22 |
Confirmed User
Industry Role:
Join Date: Aug 2015
Posts: 1,018
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#23 |
Making PHP work
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,564
|
__________________
Make Money with Porn |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#24 | |
Confirmed User
Industry Role:
Join Date: Jul 2004
Posts: 7,762
|
Quote:
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. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#25 | |
Boomer Woffen
Industry Role:
Join Date: Nov 2003
Location: Null
Posts: 30,477
|
Quote:
My buddy is coding my next project in that language
__________________
My mother said, to get things done You'd better not mess with Major Tom |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#26 | |
👏 REVOLUTIONARY 👏
Industry Role:
Join Date: Jan 2016
Posts: 1,440
|
Quote:
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.
__________________
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#27 |
Confirmed User
Industry Role:
Join Date: Oct 2006
Location: Canada
Posts: 9,058
|
how did you manage to turn a discussion on coding into a partisan divide?
__________________
webmaster at pimproll dot com |
![]() |
![]() ![]() ![]() ![]() ![]() |