|
yospos.txt, a short play a dev is sitting getting work done, and a yosposter approaches > hello dev, what are you doing i am writing a simple http server which keeps lets people send fart noises to each other in real time using websockets > have you considered writing it in my favourite language because i am pretty sure i would pick it instead of whatever you're using, because i live in a world with neither technical or social constraints on software no i hadn't, but i really don't give a gently caress, this piece of crap needs to be out of the door soon enough > let me tell you a long bullet pointed list of why whatever you have picked is wrong, usually by demonstrating the many edge cases it has, which is easy, because any piece of software in production will have them i'll leave it to the next guy assuming my company is still in business next year
|
# ? Dec 2, 2014 17:34 |
|
|
# ? May 10, 2024 00:03 |
|
tef posted:yospos.txt, a short play this
|
# ? Dec 2, 2014 17:40 |
|
I don't like Flask and I don't know why. I like Python.
|
# ? Dec 2, 2014 17:40 |
|
rotor posted:eh, node is not as bad as bash. there, I said it. node: at least it's better than bash cgi
|
# ? Dec 2, 2014 17:40 |
|
uncurable mlady posted:I don't like Flask and I don't know why. I like Python. do u like bottle though it's kinda flask-ish i guess
|
# ? Dec 2, 2014 17:40 |
|
rotor posted:that's basically the deal. everyone knows javascript, so node makes sense for whatever lame little internal service you have. yep and websocket support is kinda terrible in other kits quote:I haven't used it enough to actually care about anything important, i just cant abide non c-syntax languages. you might like go, it's basically c for lazy people if you can get over the taste of mandatory indentation (it takes a while), the rest of python isn't total garbage and pretty amenable to cheap but reliable hacks
|
# ? Dec 2, 2014 17:42 |
|
Valeyard posted:Python is great, and should be taught at schools as babbys first plang, to replace our nations standard language: Visual Basic i thought that was java
|
# ? Dec 2, 2014 17:43 |
|
weird old tip: if you work with a sack of dicks then it doesn't really matter what language you write in because the job and the resulting product will inevitably be terrible ask me about writing ruby and giving mostly non-zero fucks about it because i work with pretty solid people
|
# ? Dec 2, 2014 17:44 |
|
EAT THE EGGS RICOLA posted:do u like bottle though it's kinda flask-ish i guess haven't tried it, I'll look at it for my next toy web thing
|
# ? Dec 2, 2014 17:44 |
|
Notorious b.s.d. posted:node: at least it's better than bash cgi oh god no
|
# ? Dec 2, 2014 17:46 |
|
Notorious b.s.d. posted:node: at least it's better than bash cgi lol i meant using bash scripts for scripts. bash cgi is clearly insane from the start
|
# ? Dec 2, 2014 17:47 |
|
Valeyard posted:C# is great, and should be taught at schools as babbys first lang, to replace our nations standard language: Visual Basic
|
# ? Dec 2, 2014 17:51 |
|
tef posted:yep I was sorta scarred by people who used the phrase "pythonic" irl all the time and thought using as many list comprehension features as you could fit in one line was cool
|
# ? Dec 2, 2014 17:59 |
|
tef posted:"scale" mate it's a http routing shim wrapped around werkzeug lol at first i thought werkzurg was just you making a joke about fad frameworks but then its a thing. plangers are the worst.
|
# ? Dec 2, 2014 18:01 |
|
tef posted:yospos.txt, a short play the yospos flow hart has always been is it written in python? yes-> rewrite it in C no-> rewrite it in python
|
# ? Dec 2, 2014 18:01 |
|
tef posted:yospos.txt, a short play yeah but you suggested using python instead of an industry standard.
|
# ? Dec 2, 2014 18:02 |
|
ive never done functional stuff but i think map and filter and the lambda expressions are quite nice in python and easier to remember and read than they are in c#
|
# ? Dec 2, 2014 18:02 |
|
tef posted:
well I AM lazy but if I was gonna learn a new language now (ha!) it'd be c#
|
# ? Dec 2, 2014 18:03 |
|
your brain is busted if python is more readable than c#
|
# ? Dec 2, 2014 18:03 |
|
if you need websockets use SignalR
|
# ? Dec 2, 2014 18:04 |
|
Shaggar posted:jersey and cxf are both jax-rs implementations so your service code would be identical, but I find cxfs use of spring makes it easier to deal w/ the server config. that was my roadblock, setting up cxf means setting up spring first which can be kind of confusing. I guess if you're using spring already it's s no brainer but I wasn't and jersey is just plug in and go
|
# ? Dec 2, 2014 18:04 |
|
Shaggar posted:your brain is busted if python is more readable than c# if you write really brain-dead python it is super readable but no one ever does because someone told them that terseness was a virtue and they went apeshit crazy over the idea
|
# ? Dec 2, 2014 18:06 |
|
HORATIO HORNBLOWER posted:that was my roadblock, setting up cxf means setting up spring first which can be kind of confusing. I guess if you're using spring already it's s no brainer but I wasn't and jersey is just plug in and go yeah I use spring for config in most of my java stuff cause it makes DI easier, especially when using mybatis-spring. rotor posted:if you write really brain-dead python it is super readable but no one ever does because someone told them that terseness was a virtue and they went apeshit crazy over the idea python and its community are full of terrible math major ideals like that. its a bad language and you should avoid it. also, the linq function names make way more sense. like you should seriously look at the current asp.net web stack cause its so much better than everything else by miles and miles and miles
|
# ? Dec 2, 2014 18:09 |
|
rotor posted:people who used the phrase "pythonic" irl all the time and thought using as many list comprehension features as you could fit in one line was cool yeah i had that phase but i grew out of it
|
# ? Dec 2, 2014 18:14 |
|
rotor posted:well I AM lazy but if I was gonna learn a new language now (ha!) it'd be c# if you already know c eh you're like 80% of the way there, the big things are just features removed or simplified, no import files, no makefiles, no malloc/free, and the rest are useful things built in by default: hashes, lists, and some good enough method dispatch based around interfaces i kinda picked up a go program at work and it was "eh this isn't totally awful to use"
|
# ? Dec 2, 2014 18:16 |
|
Someone should write a coffee script style thing for python that gives it c style syntax
|
# ? Dec 2, 2014 18:20 |
|
tef posted:if you already know c eh you're like 80% of the way there, the big things are just features removed or simplified, no import files, no makefiles, no malloc/free, and the rest are useful things built in by default: hashes, lists, and some good enough method dispatch based around interfaces hm. ok I'll take a look.
|
# ? Dec 2, 2014 18:40 |
|
Bloody posted:Someone should write a coffee script style thing for python that gives it c style syntax please call it cython tia
|
# ? Dec 2, 2014 18:41 |
|
rotor posted:please call it cython tia already taken by a python compiler that lets you use c data types and functions in python and then compile em away, which is kinda nice for numeric stuff (where it came from), but also a pretty cheap way to get some performance out of any old python code without huffing pypy
|
# ? Dec 2, 2014 18:44 |
|
Shaggar posted:yeah but you suggested using python instead of an industry standard. yeah i forgot to suggest ecmascript
|
# ? Dec 2, 2014 18:57 |
|
tef posted:if you already know c eh you're like 80% of the way there, the big things are just features removed or simplified, no import files, no makefiles, no malloc/free, and the rest are useful things built in by default: hashes, lists, and some good enough method dispatch based around interfaces if you know java you're 99.5% of the way to c#
|
# ? Dec 2, 2014 19:10 |
|
Speaking of C# I'm most likely going to take an offer for a role where I'd be using it. The money's bad for the industry because of where the company is based (it's not in the US; it's still a very livable wage) but for personal reasons I'm stuck with remote work right now which limits my options. At the very least I wouldn't have use Ruby and I've legitimately wanted to get into C# for a while. You all can laugh at me now or tell me to kill myself I guess.
|
# ? Dec 2, 2014 19:21 |
|
c# is great. enjoy.
|
# ? Dec 2, 2014 19:24 |
|
Notorious b.s.d. posted:if you know java you're 99.5% of the way to c# except for the apis
|
# ? Dec 2, 2014 19:24 |
|
Shaggar posted:c# is great. enjoy. enjoy working with one of the most well thought-out and designed languages, ides, and environments in existence
|
# ? Dec 2, 2014 19:33 |
|
seriously asp.net mvc is awesome and working with razor is a dream compared to any Java templating language I used it's just really too bad that the persistence frameworks suck poo poo through a straw
|
# ? Dec 2, 2014 19:33 |
|
although one eclipse feature I miss in vs is shift clicking to go to definition. the f12 feature in vs seems not as good.
|
# ? Dec 2, 2014 19:35 |
|
triple sulk posted:Speaking of C# I'm most likely going to take an offer for a role where I'd be using it. The money's bad for the industry because of where the company is based (it's not in the US; it's still a very livable wage) but for personal reasons I'm stuck with remote work right now which limits my options. At the very least I wouldn't have use Ruby and I've legitimately wanted to get into C# for a while.
|
# ? Dec 2, 2014 19:43 |
|
HORATIO HORNBLOWER posted:although one eclipse feature I miss in vs is shift clicking to go to definition. the f12 feature in vs seems not as good. https://visualstudiogallery.msdn.microsoft.com/4b286b9c-4dd5-416b-b143-e31d36dc622b
|
# ? Dec 2, 2014 19:44 |
|
|
# ? May 10, 2024 00:03 |
|
HORATIO HORNBLOWER posted:although one eclipse feature I miss in vs is shift clicking to go to definition. the f12 feature in vs seems not as good. theres a lot of stuff in vs that sucks. no maven, back+forward buttons on ur mouse, no maven, intellisense is garbage compared to eclipse autocomplete, nuget is poo poo, and also theres no maven.
|
# ? Dec 2, 2014 19:46 |