arisuchan    [ tech / cult / art ]   [ λ / Δ ]   [ psy ]   [ ru ]   [ random ]   [ meta ]   [ all ]    info / stickers     temporarily disabledtemporarily disabled

/tech/ - technology

Name
Email
Subject
Comment

formatting options

File
Password (For file deletion.)

Help me fix this shit. https://legacy.arisuchan.jp/q/res/2703.html#2703

Kalyx ######


File: 1556414308929.jpg (69.57 KB, 634x472, deephurting.jpg)

 No.2572

What in the holy mother of fuck were you thinking when you foisted this idiocy upon the world?

So there I was, total newbie to coding of any kind despite having used Linux as my OS of choice for two decades. I'd picked up some VBA for work-related projects in Excel and Access over the past few months, and this past week I thought to myself "This is kinda fun. I ought to start learning a non-proprietary language this weekend to do some personal projects."

So I spent the day doing some searching for a starter language that's both useful and easy to learn. I saw all these articles on Go. I did the tour, and made some neat stuff afterwards. (Well, neat to a total newbie.) And I thought to myself, "This is awesome, I'm making useful programs for myself that actually work. But all these functions in one giant file is really messy. I ought to separate them into files and subdirectories for tidiness and ease-of-reuse."

And then… I encountered the insanity of GOPATH.

And then I spent hours trying to figure out how to simply include "subdir/functionfile.go" in "mainproject.go" without fucking around with environmental variables and the bonkers-ass directory structure that Go demands.

And then I gave up.

And then I uninstalled the golang package.

And now I'm looking for something similarly easy to learn and useful that makes no demands upon me with regards to directory structures.

Sigh.


[Return] [Go to top] [ Catalog ] [Post a Reply]
Delete Post [ ]