Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

ahhh spiders posted:

you're worthless

ahhh spiders posted:

i had over 40,000 posts in YCS on this account and never got forums cancer

Adbot
ADBOT LOVES YOU

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

CaptainMeatpants posted:

guys if need to make a web api that will be used by a website and phones what should i use

i don't care about being a big restful knob-slobber, query strings are fine

PHP

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

Jonny 290 posted:

realtalk is notepad++ competent for perling on a windows, so far it meats my kneads but am i missing out on tons of poo poo by not demanding something different

yes i have vim for windows
no i do not really care for it yet

notepad++ is the best of the "editors that aren't vim/emacs" category but this is like being the best tablet in the "tablets that aren't ipad" category

it took me like 2 or 3 days to get up to speed with vim to the point where it was not interrupting my work flow, but that was only after i uninstalled notepad++ and gave myself no other options. then after like a week using any other editor was intolerable because moving around was so slow and editing text was so inefficient. cmon jonny you can do it, perl devs should not use crapware editors

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

Jonny 290 posted:

i am vim fluent (boxes are configured with ksh with VI keys so i didnt have much of an option) but because i am an ADD scrublord, i like the block collapsing thing that np++ does, it's helping me focus on the bits of gear that need focusing on

Birth Of A Coder
this poo poo is a documentary and the events are happening in real time

vim does have folding--idk if the built in perl syntax specifies where blocks begin/end but even if it doesn't you could prob just set foldmethod=indent and be good to go. i grant that folding in vim isn't as ez as point and click on the lil plus box though

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror
version control is the worst

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror
static typing is like bumper bowling

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

Shaggar posted:

I do. That's why I never have issues with static typing. Deferring type errors to runtime makes no sense whatsoever and is a useless hack for bad programers in a bad language.

spoken like someone who believes in the big lie of "types"

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror
internet nerds are great because they have such an ossified certitude in their own opinions that OBVIOUSLY anyone who disagrees is a troll

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror
you... you don't agree with me? ugh someone get this troll out of here.

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

Markov Chain Chomp posted:

i mean in a forum where "dont sign your posts" is not only tolerated but openly posted to every tenth reply i guess it's hard to have standards but it's just such a weak and loving obvious attempt from those two

it is literally impossible that someone could think differently than i do. why can't everyone see this patently obvious truth.

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

Lysidas posted:

tbc your oldnew avatar is even more relevant to PHP than the UFO one

except for the picture, which idg

it's this: http://www.themodernword.com/pynchon/zak_smith/536.htm

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

Panic! At The cisco posted:

pynchon

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

Toad King posted:

tbc what do you think of php's use as a general scripting language? like for non-web stuff?

well it's not as ideally suited to the environment as it is for the web but it works just fine. i wrote a desktop app using php-gtk once and it turned out ok

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror
yeah strong typing rules i totally want my code to have more errors

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror
it is just SO much more convenient when my computer nitpicks at my code with sperglike intensity instead of just handling all that poo poo for me

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

Panic! At The cisco posted:

that's pretty much php_library.txt

i assume you say this because that is a completely solved problem in php?

(also mega lol @ exceptions when you hit the end of a loop. python is such a bad language)

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

tef posted:

http://nodephp.org/

noooo these people aren't even supposed to like php

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

Rufo posted:

1. perl flattens arrays. ((1,2),(3,4)) means (1,2,3,4). this includes @_, the array of parameters received by a subroutine. so good luck passing two arrays, or anything more complicated, without the help of references

lol

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror
java is actually a p good language if you have to make a desktop "application". and it's kind of cool how java had the idea to make applications you could run on a lot of different platforms before web applications became a thing and you could do that for real

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

holy poo poo, this owns

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror
why does every language not have this

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

yaoi prophet posted:

it's never a bad time to post that

also in PHP E_ALL doesn't get you everything, you need E_STRICT | E_ALL

what you actually want is this:

error_reporting = E_ALL & ~(E_NOTICE | E_DEPRECATED)

that shows you everything relevant. no "undefined index" stuff or deprecation notices. anything more than that is E_STRICTly for spergs

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

CaptainMeatpants posted:

5.4.0 E_STRICT became part of E_ALL

i didn't know this but i'm not surprised. the useless academics really did a number on 5.4

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

CaptainMeatpants posted:

and for the love of god do at least one decent sized project without jquery

ugh. this is like those people that say you should learn c so you know about pointers/memory management/stupid antiquated poo poo

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror
what's wrong with php oo

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

Shaggar posted:

python is bad. dont learn python

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror
p languages are trash. ruby is an honorary p language

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror
tef knows what's up

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

Inverse Icarus posted:

what is going on

php is the

tef posted:

exception that proves the rule

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror
tell them what you're gonna tell them, tell them, tell them what you told them

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

Condiv posted:

What? When I define a function, I want it to react pretty predictably to inputs given. I'd rather not allow for a whole new set of errors to be allowed by having "this" resolve to whatever the function happens to have been assigned to at the moment.

so don't use "this" or use _.bind on your function.

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror
you would have already known to do that if you knew anything at all about javascript

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror
if someone doesn't see why that's a thing about javascript that rules, dropping a whole bunch of words on they dumb rear end won't help. bet you he wishes js had classical inheritance too

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

Condiv posted:

Yep, use more libraries to paper over the flaws in the language. That or ignore it.


Actually, nowadays I just use private members in classes with getter and setter functions when I need them.

lolll

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror
this gosh darn language is just too flexible and expressive. let me mangle it until it looks like java

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

BonzoESC posted:

i don't, why should i when multiplication is cheap and "1000 * 60 * 60 * 24" makes it obvious what i mean

cause

php:
<?
class butt { 
  const SECONDS_PER_DAY = 1000 * 60 * 60 * 24;
}
?>
is a parse error

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror
shaggar why do you think json will never be well-formed

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror
what's the term for when you make your accessors and mutators the same method

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

Sulk posted:

in before "java owns --shagger" but based on the little bit of looking at them I've done, java's docs seem to be just so much loving better and more organized than pretty much everything else out there

PHP

Adbot
ADBOT LOVES YOU

Tiny Bug Child
Sep 11, 2004

Avoid Symmetry, Allow Complexity, Introduce Terror

trex eaterofcadrs posted:

if you don't "get" vim maybe you should "get" out

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply