juan_gandhi: (Default)

Как я понимаю, это в профессиональной среде. Ну и... кобольщики про гитхаб и не слыхали, наверно.

Боевая тройка, Rust-Scala-Кotlin, на своём месте.

source
 


1   Python  
2 Java
3 Go
4 JavaScript
5 C++
6 TypeScript
7 PHP
8 Ruby
9 C
10 C#
11 Nix
12 Shell
13 Rust
14 Scala
15 Kotlin
16 Swift
17 Dart
18 Groovy
19 Perl
20 Lua
21 DM
22 SystemVerilog
23 Objective-C
24 Elixir
25 CodeQL
26 OCaml
27 Haskell
28 PowerShell
29 Erlang
30 Emacs Lisp
juan_gandhi: (Default)
tiobe 

Python, C++, C, Java, C#, JavaScript, Go, SQL, VB, Fortran, Delphi, Swift, ASM, Matlab, PHP, Scratch, Rust, Ruby, Kotlin, Cobol.

Totally crazy, in my view

juan_gandhi: (VP)
(from a recruiter's letter):

Required:
• 5+ years developing software using a high-level language (Java, Python, Erlang, Perl, PHP, JavaScript, AngularJS, or Ruby)


I wonder what would the call low-level.

new concept

Sep. 8th, 2014 07:16 am
juan_gandhi: (VP)
English is a writer-responsible language. That means it is the responsibility of the writer to make sure the message is understood. Writing is clear, direct and unambiguous. Schools teach from early on the importance of structure, thesis statement and topic sentences when writing in English. A good writer assumes no or little background knowledge on the part of the reader.

Korean, Chinese, and Japanese are reader-responsible languages. That means the reader is responsible for deciphering the message, which is often not stated explicitly. For an American who is expecting direct and explicit information, this style can be very confusing.

http://languagelog.livejournal.com/2675955.html
juan_gandhi: (VP)
http://ivan-gandhi.livejournal.com/2488144.html

Yes, I was convinced that it's pretty much doable.
Thank you, [livejournal.com profile] migmit, [livejournal.com profile] archaicos, [livejournal.com profile] sassa_nf, [livejournal.com profile] hamster37, [livejournal.com profile] mikkim08; good stuff.

Here's my code, based on the code by [livejournal.com profile] mstone wrote in C. Mine is in Scala.

def matches(s: String, r: String): Boolean = {
  def matchesOneChar(x:String) = !x.isEmpty && (r(0)=='.' || r(0) == x(0))
  if (r.isEmpty) s.isEmpty                                                     else
  if (!r.tail.startsWith("*")) matchesOneChar(s) && matches(s.tail, r.tail)    else
                               s.tails takeWhile (!matches(_, r drop 2)) forall matchesOneChar
}

def mustMatch   (s: String, r: String) = print(s"<<$s>> vs <<$r>>: ${if (matches(s, r)) "OK" else "*** bad!"}") 
def mustNotMatch(s: String, r: String) = print(s"<<$s>> vs <<$r>>: ${if(!matches(s, r)) "OK" else "*** bad!"}") 

    mustMatch("", "")
    mustNotMatch("", "a")
    mustMatch("a", "a*")
    mustMatch("a", ".*")
    mustMatch("", ".*")
    mustMatch("", "a*")
    mustNotMatch("b", "a*")
    mustMatch("b", ".*")
    mustMatch("b", "ba*")
    mustMatch("abba", "abba")
    mustNotMatch("", ".")
    mustMatch("a", ".")
    mustMatch("ac", "ab*c")
    mustMatch("abbbc", "ab*c")
    mustNotMatch("abbbc", "a.*b")
    mustMatch("abbbc", "a.*c")
    mustMatch("ac", ".*c")
    mustMatch("aac", "a*b*ac")



Comments?

Profile

juan_gandhi: (Default)
Juan-Carlos Gandhi

September 2025

S M T W T F S
 1 2345 6
78 9 10 111213
14 151617 181920
212223 24252627
282930    

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 29th, 2025 03:21 pm
Powered by Dreamwidth Studios